blob: b48783cece40c12ee4158bfd268f8b955fe65cac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
test: test.c runtime/refcounting.o dietpass
dietcc -I $(PWD)/runtime -o $@ test.c runtime/refcounting.o --dietc-pass $(PWD)/dietpass
dietpass: dietpass.c ../../libdietc.l ../../libdietc.h
make -C ../..
gcc -g -O3 dietpass.c ../../libdietc.o -I../../ -lfl -o $@
runtime/refcounting.o: runtime/refcounting.c
gcc -c -o $@ $^
clean:
rm -f runtime/refcounting.o test dietpass
|