forked from miguelmota/cairo-learning
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
19 lines (14 loc) · 880 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
name=test
compile:
cairo-compile $(name).cairo --output $(name)_compiled.json
run: compile
cairo-run --program=$(name)_compiled.json --print_output --layout=small --print_info --relocate_prints --print_memory
run-puzzle:
cairo-compile puzzle.cairo --output puzzle_compiled.json
cairo-run --program=puzzle_compiled.json --print_output --layout=small --print_info --relocate_prints --print_memory --program_input=puzzle_input.json
run-pc:
cairo-compile pc.cairo --output pc_compiled.json
cairo-run --program=pc_compiled.json --print_output --layout=small --print_info --relocate_prints --print_memory --no_end --step=16
run-program-input:
cairo-compile program_input.cairo --output program_input_compiled.json
cairo-run --program=program_input_compiled.json --print_output --layout=small --print_info --relocate_prints --print_memory --program_input=program_input.json