Fixed a bug in the liveness analysis. When a function was called, its
[sixpic.git] / makefile
blob3209357051c326940c95aa7cf881fc02bc8c4df8
1 .SUFFIXES:
2 .SUFFIXES: .c .hex .tmp
4 all: sixpic
6 sixpic: six-comp.o1 pic18-sim.o1 utilities.o1 ast.o1 operators.o1 cte.o1 parser.o1 cfg.o1 optimizations.o1 code-generation.o1 register-allocation.o1 pic18.o1 asm.o1 profiler.o1
8 six-comp.o1: six-comp.scm
9 rm $@ || true
10 gsc -debug $<
12 pic18-sim.o1: pic18-sim.scm
13 rm $@ || true
14 gsc -debug $<
16 utilities.o1: utilities.scm
17 rm $@ || true
18 gsc -debug $<
20 ast.o1: ast.scm
21 rm $@ || true
22 gsc -debug $<
24 operators.o1: operators.scm
25 rm $@ || true
26 gsc -debug $<
28 cte.o1: cte.scm
29 rm $@ || true
30 gsc -debug $<
32 parser.o1: parser.scm
33 rm $@ || true
34 gsc -debug $<
36 cfg.o1: cfg.scm
37 rm $@ || true
38 gsc -debug $<
40 optimizations.o1: optimizations.scm
41 rm $@ || true
42 gsc -debug $<
44 code-generation.o1: code-generation.scm
45 rm $@ || true
46 gsc -debug $<
48 register-allocation.o1: register-allocation.scm
49 rm $@ || true
50 gsc -debug $<
52 pic18.o1: pic18.scm
53 rm $@ || true
54 gsc -debug $<
56 asm.o1: asm.scm
57 rm $@ || true
58 gsc -debug $<
60 profiler.o1: profiler.scm
61 rm $@ || true
62 gsc -debug $<
64 # .scm.o1: # TODO doesn't work
65 # rm $@ || true
66 # gsc -debug $<
68 .c.hex:
69 gsi six-comp.scm $*.c
70 rm -f $*.c.tmp
72 checks:
73 cd tests && make checks
75 clean:
76 rm -rf *.c.tmp *.o1