blob: 79b5692041fda90419ed59196e529de254205cc1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
all: default instrumented
default: test.c
gcc -O0 $^ -o $@
instrumented: test.c dietpass
dietcc -O0 test.c -o $@ --dietc-pass $(PWD)/dietpass
dietpass: dietpass.c ../../libdietc.l ../../libdietc.h
make -C ../..
gcc -O3 dietpass.c ../../libdietc.o -I../../ -lfl -o $@
clean:
rm -f default instrumented dietpass
|