-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
29 lines (23 loc) · 1.02 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
all: build/99_bottles build/ascii build/ascii4 build/caesar \
build/collatz build/factorial build/fib build/fizz_buzz \
build/hello_world build/interpret build/pi \
build/rosetta/add build/rosetta/binary build/rosetta/fib \
build/rosetta/fibrec build/rosetta/fizz_buzz build/rosetta/freq \
build/rosetta/harshad build/rosetta/langstons_ant \
build/rosetta/octal build/rosetta/shell_sort \
build/rosetta/term_cursor build/rosetta/while \
build/test_ret_underflow
build/rosetta/%: programs/rosetta/%.ws nebula compile ir/codegen/ext/ext.c
@mkdir -p build/rosetta
./compile $< $@
build/%: programs/%.ws nebula compile ir/codegen/ext/ext.c
./compile $< $@
build/%: programs/%.out.ws nebula compile ir/codegen/ext/ext.c
./compile $< $@
build/interpret: programs/interpret.out.ws nebula compile ir/codegen/ext/ext.c
./compile $< $@ -O3 -heap=1000000
build/rosetta/langstons_ant: programs/rosetta/langstons_ant.ws nebula compile ir/codegen/ext/ext.c
@mkdir -p build/rosetta
./compile $< $@ -O3 -heap=10004
clean:
rm -rf build