Added an id to each byte-cell to use with bit vectors.
[sixpic.git] / makefile
blob5a65e845ee2c76ea556528def09c9c2529f65858
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
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 # .scm.o1: # TODO doesn't work
53 # rm $@ || true
54 # gsc -debug $<
56 .c.hex:
57 gsi six-comp.scm $*.c
58 rm -f $*.c.tmp
60 checks:
61 cd tests && make checks
63 clean:
64 rm -rf *.c.tmp *.o1