Mercurial > hg > CbC > old > device
comparison Makefile @ 935:7672a37e7545 default tip
Raspbery PI ARM support begin
author | kono |
---|---|
date | Sat, 24 Dec 2016 03:02:57 +0000 |
parents | b7f4ff38a3bf |
children |
comparison
equal
deleted
inserted
replaced
934:b7f4ff38a3bf | 935:7672a37e7545 |
---|---|
1 GCC = clang | 1 CC = gcc |
2 CC = $(GCC) -std=c99 $(CCEXT) $(M) -fgnu89-inline | |
3 # -O3 | 2 # -O3 |
4 # MCFLAG = -DUSE_CODE_KEYWORD | 3 # MCFLAG = -DUSE_CODE_KEYWORD |
5 CFLAGS = -g -Wall -Wno-nullability-completeness -I. $(MCFLAG) # -O | 4 CFLAGS = -g -Wall -Wno-nullability-completeness -I. $(MCFLAG) # -O |
6 # CFLAGS = -g -Wall -I. -pg -fprofile-arcs -ftest-coverage | 5 # CFLAGS = -g -Wall -I. -pg -fprofile-arcs -ftest-coverage |
7 # LDFLAGS = -pg | 6 # LDFLAGS = -pg |
8 # for Linux Zaurus | 7 # for Linux Zaurus |
9 # CFLAGS = -fsigned-char -pipe -g -I. -I/home/zaurus/develop/include | 8 CFLAGS = -fsigned-char -pipe -g -I. -I/home/zaurus/develop/include -DUSE_CODE_KEYWORD |
10 CFLAGS1 = -g -I. | 9 CFLAGS1 = -g -pipe -I. -fsigned-char -DUSE_CODE_KEYWORD |
11 BASE=0 | 10 BASE=0 |
12 STAGE=1 | 11 STAGE=1 |
13 MFLAGS=$(MFALGS) BASE=$(BASE) STAGE=$(STAGE) | 12 MFLAGS=$(MFALGS) BASE=$(BASE) STAGE=$(STAGE) |
14 ARCH=i64 | 13 ARCH=arm |
15 MC=mc-$(ARCH) | 14 MC=mc-$(ARCH) |
16 MLIB = -lm | 15 MLIB = -lm |
17 PRINTF= # printf.c | 16 PRINTF= # printf.c |
18 CONVERTER=conv/c.o conv/null.o conv/c2cbc.o conv/cbc2c.o | 17 CONVERTER=conv/c.o conv/null.o conv/c2cbc.o conv/cbc2c.o |
19 COMPLIB = mc-parse.o mc-codegen.o mc-switch.o mc-macro.o mc-tree.o mc-inline.o | 18 COMPLIB = mc-parse.o mc-codegen.o mc-switch.o mc-macro.o mc-tree.o mc-inline.o |
20 # CODE=mc-code-ia32.c | 19 # CODE=mc-code-ia32.c |
21 CODE=mc-code-$(ARCH).c | 20 CODE=mc-code-$(ARCH).c |
22 GCC_INCLUDE=`perl tools/find-gcc-include-path -p $(CC)` | |
23 # | |
24 # | 21 # |
25 TARGET=test/simp | 22 TARGET=test/simp |
26 | 23 |
27 all: mc tags | 24 all: mc |
28 | 25 |
29 predefined: | 26 mc: mc-include.c mc-$(ARCH) |
30 $(CC) -xc -E -dM /dev/null | |
31 | |
32 ppc: | |
33 make ARCH=powerpc CCEXT="-arch ppc" check-all | |
34 | |
35 ia32: | |
36 make ARCH=ia32 CCEXT="-m32" check-all | |
37 | |
38 ia32-make-code-check: | |
39 make ARCH=ia32 CCEXT="-m32" MK=-make check-all-code | |
40 | |
41 mc: mc-$(ARCH) | |
42 cp mc-$(ARCH) mc | 27 cp mc-$(ARCH) mc |
43 | 28 |
44 mc-i64 :conv/conv.h mc-include.c mc-code-i64.o $(COMPLIB) $(CONVERTER) | 29 TAGS: |
45 $(CC) $(LDFLAGS) -g mc-code-i64.o $(COMPLIB) $(CONVERTER) -o $@ | 30 ctags mc-code-powerpc.c mc-code.h mc-codegen.c mc-codegen.h \ |
46 | 31 mc-macro.c \ |
47 mc-powerpc :conv/conv.h mc-include.c mc-code-powerpc.o $(COMPLIB) $(CONVERTER) | 32 mc-parse.c mc-tree.c mc-switch.c mc-switch.h \ |
33 mc.h conv/c.c conv/c.h \ | |
34 mc-inline.h mc-inline.c \ | |
35 conv/conv.h conv/convdef.h conv/null.c | |
36 | |
37 mc-powerpc : mc-code-powerpc.o $(COMPLIB) $(CONVERTER) | |
48 $(CC) $(LDFLAGS) -g mc-code-powerpc.o $(COMPLIB) $(CONVERTER) -o $@ | 38 $(CC) $(LDFLAGS) -g mc-code-powerpc.o $(COMPLIB) $(CONVERTER) -o $@ |
49 | 39 |
50 mc-ia32 :conv/conv.h mc-include.c mc-code-ia32.o $(COMPLIB) $(CONVERTER) | 40 mc-ia32 : mc-code-ia32.o $(COMPLIB) $(CONVERTER) |
51 $(CC) $(LDFLAGS) -g mc-code-ia32.o $(COMPLIB) $(CONVERTER) -o $@ | 41 $(CC) $(LDFLAGS) -g mc-code-ia32.o $(COMPLIB) $(CONVERTER) -o $@ |
52 | 42 |
53 mc-mips :conv/conv.h mc-include.c mc-code-mips.o $(COMPLIB) $(CONVERTER) | 43 mc-mips : mc-code-mips.o $(COMPLIB) $(CONVERTER) |
54 $(CC) $(LDFLAGS) -g mc-code-mips.o $(COMPLIB) $(CONVERTER) -o $@ | 44 $(CC) $(LDFLAGS) -g mc-code-mips.o $(COMPLIB) $(CONVERTER) -o $@ |
55 | 45 |
56 mc-arm :conv/conv.h mc-include.c mc-code-arm.o $(COMPLIB) $(CONVERTER) | 46 mc-arm : mc-code-arm.o $(COMPLIB) $(CONVERTER) |
57 $(CC) $(LDFLAGS) -g mc-code-arm.o $(COMPLIB) $(CONVERTER) -o $@ | 47 $(CC) $(LDFLAGS) -g mc-code-arm.o $(COMPLIB) $(CONVERTER) -o $@ |
58 | |
59 mc-spu :conv/conv.h mc-include.c mc-code-spu.o $(COMPLIB) $(CONVERTER) | |
60 $(CC) $(LDFLAGS) -g mc-code-spu.o $(COMPLIB) $(CONVERTER) -o $@ | |
61 | 48 |
62 conv/conv.h: conv_func.tbl tools/conv_func.pl | 49 conv/conv.h: conv_func.tbl tools/conv_func.pl |
63 perl tools/conv_func.pl | 50 perl tools/conv_func.pl |
64 conv/convdef.h: conv_func.tbl tools/conv_func.pl | 51 conv/convdef.h: conv_func.tbl tools/conv_func.pl |
65 perl tools/conv_func.pl | 52 perl tools/conv_func.pl |
66 conv/null.c: conv_func.tbl tools/conv_func.pl | 53 conv/null.c: conv_func.tbl tools/conv_func.pl |
67 perl tools/conv_func.pl | 54 perl tools/conv_func.pl |
68 | 55 |
69 mc-include.c: stdio.h | 56 mc-include.c: |
70 perl tools/find-gcc-include-path -l $(CC) > mc-include.c | 57 perl tools/find-gcc-include-path -l $(CC) > mc-include.c |
71 | |
72 stdio.h: | |
73 perl tools/find-gcc-include-path -s $(CC) > stdio.h | |
74 | 58 |
75 mc.h-new: | 59 mc.h-new: |
76 perl tools/mc-h-renum.pl mc.h > mc.h.1 | 60 perl tools/mc-h-renum.pl mc.h > mc.h.1 |
77 mv mc.h.1 mc.h | 61 mv mc.h.1 mc.h |
78 | 62 |
91 make check TARGET=test/short | 75 make check TARGET=test/short |
92 make check TARGET=test/simp | 76 make check TARGET=test/simp |
93 make check TARGET=test/simp0 | 77 make check TARGET=test/simp0 |
94 make check TARGET=test/simp1 | 78 make check TARGET=test/simp1 |
95 make check TARGET=test/static | 79 make check TARGET=test/static |
96 make check-inline TARGET=test/static | |
97 make check TARGET=test/tmp | 80 make check TARGET=test/tmp |
98 make check TARGET=test/tmp10 | 81 make check TARGET=test/tmp10 |
99 make check TARGET=test/tmp11 | 82 make check TARGET=test/tmp11 |
100 make check TARGET=test/tmp12 | 83 make check TARGET=test/tmp12 |
101 make check TARGET=test/tmp5 | 84 make check TARGET=test/tmp5 |
102 make check TARGET=test/tmp7 | 85 make check TARGET=test/tmp7 |
103 make check-inline TARGET=test/tmp7 | |
104 make check TARGET=test/tmp8 | 86 make check TARGET=test/tmp8 |
105 make check TARGET=test/tmp9 | 87 make check TARGET=test/tmp9 |
106 make check TARGET=test/enum | 88 make check TARGET=test/enum |
107 make check TARGET=test/obsf | 89 make check TARGET=test/obsf |
108 make check TARGET=test/obsf2 | 90 make check TARGET=test/obsf2 |
109 make check TARGET=test/long | 91 make check TARGET=test/long |
110 make check TARGET=test/tstdarg | 92 make check TARGET=test/tstdarg |
111 make check TARGET=test/switch | 93 make check TARGET=test/switch |
112 make check-inline TARGET=test/switch | |
113 make check TARGET=test/strinit | 94 make check TARGET=test/strinit |
114 make check-inline TARGET=test/strinit | |
115 make check TARGET=test/code-gen-all | 95 make check TARGET=test/code-gen-all |
116 make check-inline TARGET=test/code-gen-all | 96 make check-inline TARGET=test/code-gen-all |
117 make check TARGET=test/bitfield | 97 make check TARGET=test/bitfield |
118 make check TARGET=test/bitfield1 | 98 make check TARGET=test/bitfield1 |
119 make check-inline TARGET=test/bitfield1 | 99 make check-inline TARGET=test/bitfield1 |
120 make check TARGET=test/cext | 100 make check TARGET=test/cext |
121 make check TARGET=test/const | 101 make check TARGET=test/const |
122 make check TARGET=test/void_code | 102 make check TARGET=test/void_code |
123 make check TARGET=test/putenemy | 103 make check TARGET=test/putenemy |
124 make check TARGET=test/inline | 104 make check TARGET=test/inline |
105 make check TARGET=test/offset | |
125 make check TARGET=test/ps2 | 106 make check TARGET=test/ps2 |
126 make check-inline TARGET=test/ps2 | |
127 make check TARGET=test/offset | |
128 make check TARGET=test/multi | 107 make check TARGET=test/multi |
129 make check-inline TARGET=test/multi | |
130 make check TARGET=test/comp | |
131 make check-inline TARGET=test/comp | |
132 # make check TARGET=test/scope STDFLAG="-std=gnu99" | 108 # make check TARGET=test/scope STDFLAG="-std=gnu99" |
133 # make check-inline TARGET=test/scope STDFLAG="-std=gnu99" | 109 # make check-inline TARGET=test/scope STDFLAG="-std=gnu99" |
134 #MK =-make | 110 #MK =-make |
135 MK= | 111 MK= |
136 check-all-code: | 112 check-all-code: |
146 make check-code$(MK) TARGET=test/tmp1 | 122 make check-code$(MK) TARGET=test/tmp1 |
147 make check-code$(MK) TARGET=test/tmp2 | 123 make check-code$(MK) TARGET=test/tmp2 |
148 make check-code$(MK) TARGET=test/tmp4 | 124 make check-code$(MK) TARGET=test/tmp4 |
149 make check-code$(MK) TARGET=test/tmp6 | 125 make check-code$(MK) TARGET=test/tmp6 |
150 make check-code$(MK) TARGET=test/tmpb | 126 make check-code$(MK) TARGET=test/tmpb |
151 make check-code-inline TARGET=test/tmpb | |
152 make check-code$(MK) TARGET=test/scope | 127 make check-code$(MK) TARGET=test/scope |
153 make check-code-inline TARGET=test/scope | 128 make check-code$(MK) TARGET=test/throw |
154 # make check-code$(MK) TARGET=test/throw | |
155 make check-code$(MK) TARGET=test/too-long-argument | 129 make check-code$(MK) TARGET=test/too-long-argument |
156 | 130 |
157 check-nkf: mc | 131 check-nkf: |
158 ( cd nkf203; $(CC) -g -o nkf1 nkf.c utf8tbl.c ) | 132 ( cd nkf203; $(CC) -g -o nkf1 nkf.c utf8tbl.c ) |
159 ( cd nkf203; ../mc-$(ARCH) nkf.c utf8tbl.c ) | 133 ( cd nkf203; ../mc-$(ARCH) -s nkf.c utf8tbl.c ) |
160 ( cd nkf203; $(CC) -g -o nkf nkf.s utf8tbl.s ) | 134 ( cd nkf203; $(CC) -g -o nkf nkf.s utf8tbl.s ) |
161 ( cd nkf203; perl test.pl ) | 135 ( cd nkf203; perl test.pl ) |
162 | |
163 # -./$(MC) -Itest/ $(TARGET).c | 136 # -./$(MC) -Itest/ $(TARGET).c |
164 | 137 |
165 ifeq ($(GCC),clang) | 138 ifeq ($(GCC),clang) |
166 NOWARN = -Wno-literal-conversion -Wno-implicit-function-declaration -Wno-implicit-int \ | 139 NOWARN = -Wno-literal-conversion -Wno-implicit-function-declaration -Wno-implicit-int \ |
167 -Wno-incompatible-pointer-types -Wno-int-conversion -Wno-return-type -Wno-bitfield-constant-conversion -Wno-tautological-compare -Wno-shift-overflow \ | 140 -Wno-incompatible-pointer-types -Wno-int-conversion -Wno-return-type -Wno-bitfield-constant-conversion -Wno-tautological-compare -Wno-shift-overflow \ |
168 -Wno-unused-value -Wno-nullability-completeness | 141 -Wno-unused-value -Wno-nullability-completeness |
169 endif | 142 endif |
170 | 143 |
171 check: mc $(MC) $(TARGET).c | 144 check: mc $(MC) $(TARGET).c |
172 -$(CC) $(CFLAGS1) $(STDFLAG) $(TARGET).c -o b.out $(MLIB) $(NOWARN) | 145 -$(CC) $(CFLAGS1) $(STDFLAG) $(TARGET).c -o b.out $(MLIB) |
173 -./b.out > $(TARGET).gcc.out | 146 -./b.out > $(TARGET).gcc.out |
174 -./$(MC) $(MCFLAG) $(TARGET).c | 147 -./$(MC) -s $(TARGET).c |
175 -$(CC) $(TARGET).s $(MLIB) | 148 -$(CC) $(TARGET).s $(MLIB) |
176 -./a.out > $(TARGET).$(MC).out | 149 -./a.out > $(TARGET).$(MC).out |
177 -diff $(TARGET).gcc.out $(TARGET).$(MC).out | 150 -diff $(TARGET).gcc.out $(TARGET).$(MC).out |
178 | 151 |
179 check-inline: mc $(MC) $(TARGET).c | 152 check-inline: mc $(MC) $(TARGET).c |
180 -$(CC) $(CFLAGS1) $(STDFLAG) $(TARGET).c -o b.out $(MLIB) $(NOWARN) | 153 -$(CC) $(CFLAGS1) $(STDFLAG) $(TARGET).c -o b.out $(MLIB) |
181 -./b.out > $(TARGET).gcc.out | 154 -./b.out > $(TARGET).gcc.out |
182 -./$(MC) $(MCFLAG) -DINLINE=inline $(TARGET).c | 155 -./$(MC) -s -DINLINE=inline $(TARGET).c |
183 -$(CC) $(TARGET).s $(MLIB) | 156 -$(CC) $(TARGET).s $(MLIB) |
184 -./a.out > $(TARGET).$(MC).out | 157 -./a.out > $(TARGET).$(MC).out |
185 -diff $(TARGET).gcc.out $(TARGET).$(MC).out | 158 -diff $(TARGET).gcc.out $(TARGET).$(MC).out |
186 | 159 |
187 check-code: mc $(MC) | 160 check-code: mc $(MC) |
188 -./$(MC) $(MCFLAG) $(TARGET).c | 161 -./$(MC) -s $(TARGET).c |
189 -$(CC) $(TARGET).s $(MLIB) | |
190 -./a.out > $(TARGET).$(MC).out | |
191 -diff $(TARGET).code-out $(TARGET).$(MC).out | |
192 check-code-inline: mc $(MC) | |
193 -./$(MC) $(MCFLAG) -DINLINE=inline $(TARGET).c | |
194 -$(CC) $(TARGET).s $(MLIB) | 162 -$(CC) $(TARGET).s $(MLIB) |
195 -./a.out > $(TARGET).$(MC).out | 163 -./a.out > $(TARGET).$(MC).out |
196 -diff $(TARGET).code-out $(TARGET).$(MC).out | 164 -diff $(TARGET).code-out $(TARGET).$(MC).out |
197 check-code-make: mc $(MC) | 165 check-code-make: mc $(MC) |
198 -./$(MC) $(MCFLAG) $(TARGET).c | 166 -./$(MC) -s $(TARGET).c |
199 -$(CC) $(TARGET).s $(MLIB) | 167 -$(CC) $(TARGET).s $(MLIB) |
200 -./a.out > $(TARGET).code-out | 168 -./a.out > $(TARGET).code-out |
201 | |
202 check-flip: mc $(MC) | |
203 -$(CC) -DFLIP -c test/basic2.c | |
204 -$(CC) basic2.o test/basic2.c | |
205 ./a.out | |
206 -./$(MC) test/basic2.c | |
207 -$(CC) test/basic2.s -DFLIP test/basic2.c | |
208 ./a.out | |
209 -./$(MC) -DFLIP test/basic2.c | |
210 -$(CC) test/basic2.s test/basic2.c | |
211 ./a.out | |
212 | 169 |
213 test/code-gen-all.c: test/code-gen.pl test/code-gen.c | 170 test/code-gen-all.c: test/code-gen.pl test/code-gen.c |
214 perl test/code-gen.pl < test/code-gen.c > test/code-gen-all.c | 171 perl test/code-gen.pl < test/code-gen.c > test/code-gen-all.c |
215 | 172 |
216 incpri: | 173 incpri: |
217 perl tools/incpri.pl test/*.c | 174 perl tools/incpri.pl test/*.c |
218 | 175 |
219 tags: # tags-$(ARCH) | 176 tags: tags-$(ARCH) |
220 | 177 |
221 tags-$(ARCH): | 178 tags-$(ARCH): |
222 -ctags -w mc.h mc-code.h mc-code-$(ARCH).c mc-codegen.c mc-codegen.h \ | 179 ctags mc.h mc-code.h mc-code-$(ARCH).c mc-codegen.c mc-codegen.h \ |
223 mc-parse.h mc-tree.c mc-inline.h mc-switch.h \ | 180 mc-parse.c mc-tree.c \ |
224 mc-macro.h mc-macro.c \ | |
225 conv/c.c conv/c.h \ | 181 conv/c.c conv/c.h \ |
226 conv/conv.h conv/convdef.h | 182 conv/conv.h conv/convdef.h |
227 | 183 |
228 tar : | 184 tar : |
229 make clean | 185 make clean |
230 tar cBf - . | gzip > ../comp.tgz | 186 tar cBf - . | gzip > ../comp.tgz |
231 | 187 |
232 depend : mc.h mc-include.c | 188 depend : mc-include.c |
233 makedepend -I$(GCC_INCLUDE) mc-code-ia32.c mc-code.h mc-codegen.c mc-codegen.h \ | 189 makedepend mc-code-ia32.c mc-code.h mc-codegen.c mc-codegen.h \ |
234 mc-parse.c mc-tree.c mc-switch.c mc-switch.h mc.h \ | 190 mc-parse.c mc-tree.c mc-switch.c mc-switch.h mc.h \ |
235 mc-inline.c mc-macro.c mc-macro.h mc-parse.h \ | 191 mc-inline.c mc-macro.c mc-macro.h mc-parse.h \ |
236 conv/c.c conv/c.h conv/c2cbc.c conv/c2cbc.h conv/cbc2c.c \ | 192 conv/c.c conv/c.h conv/c2cbc.c conv/c2cbc.h conv/cbc2c.c \ |
237 conv/cbc2c.h conv/conv.h conv/convdef.h conv/null.c conv/null.h \ | 193 conv/cbc2c.h conv/conv.h conv/convdef.h conv/null.c conv/null.h \ |
238 mc-code-arm.c \ | 194 mc-code-arm.c \ |
239 mc-code-powerpc.c \ | 195 mc-code-powerpc.c \ |
240 mc-code-mips.c | 196 mc-code-mips.c |
241 | 197 |
242 clean : | 198 clean : |
243 -rm -rf mc mc-spu mc-ia32 mc-powerpc mc-mips mc-arm *.bak *.s *.o *.cc mc mc1 mc2 a.out *~ core* */*.o *.bak test/*.s test/*.cc test/*.o test/*.bak test/*~ conv/*.s conv/*.cc conv/*.o conv/*.bak conv/*~ *.out */*.out *.i */*.i mc-include.c *.dSYM stdio.h | 199 -rm -f mc mc-ia32 mc-powerpc mc-mips mc-arm *.bak *.s *.o *.cc mc mc1 mc2 a.out *~ core* */*.o *.bak test/*.s test/*.cc test/*.o test/*.bak test/*~ conv/*.s conv/*.cc conv/*.o conv/*.bak conv/*~ *.out */*.out *.i */*.i mc-include.h |
244 | 200 |
245 mc1 : b00.s b01.s mc-codegen.o mc-tree.o mc-switch.o mc-macro.o mc-inline.o $(CONVERTER) | 201 mc1 : b00.s b01.s mc-codegen.o mc-tree.o mc-switch.o mc-macro.o mc-inline.o $(CONVERTER) |
246 $(CC) -g -o $@ $(PRINTF) b00.s b01.s mc-codegen.o mc-tree.o mc-switch.o mc-macro.o mc-inline.o $(CONVERTER) | 202 $(CC) -g -o $@ $(PRINTF) b00.s b01.s mc-codegen.o mc-tree.o mc-switch.o mc-macro.o mc-inline.o $(CONVERTER) |
247 | 203 |
248 mc2 : b00.s b01.s b02.s b03.s mc-macro.o mc-inline.o $(CONVERTER) | 204 mc2 : b00.s b01.s b02.s b03.s mc-macro.o mc-inline.o $(CONVERTER) |
249 $(CC) -g -o $@ $(PRINTF) b00.s b01.s b02.s b03.s b04.s mc-macro.o mc-inline.o $(CONVERTER) | 205 $(CC) -g -o $@ $(PRINTF) b00.s b01.s b02.s b03.s b04.s mc-macro.o mc-inline.o $(CONVERTER) |
250 | 206 |
251 b00.s : mc-parse.c $(MC) | 207 b00.s : mc-parse.c $(MC) |
252 ./$(MC) $(MCFLAG) -ob00.s mc-parse.c | 208 ./$(MC) -s -ob00.s mc-parse.c |
253 b01.s : $(CODE) $(MC) | 209 b01.s : $(CODE) $(MC) |
254 ./$(MC) $(MCFLAG) -ob01.s $(CODE) | 210 ./$(MC) -s -ob01.s $(CODE) |
255 b02.s : mc-codegen.c $(MC) | 211 b02.s : mc-codegen.c $(MC) |
256 ./$(MC) $(MCFLAG) -ob02.s mc-codegen.c | 212 ./$(MC) -s -ob02.s mc-codegen.c |
257 b03.s : mc-tree.c $(MC) | 213 b03.s : mc-tree.c $(MC) |
258 ./$(MC) $(MCFLAG) -ob03.s mc-tree.c | 214 ./$(MC) -s -ob03.s mc-tree.c |
259 b04.s : mc-switch.c $(MC) | 215 b04.s : mc-switch.c $(MC) |
260 ./$(MC) $(MCFLAG) -ob04.s mc-switch.c | 216 ./$(MC) -s -ob04.s mc-switch.c |
261 | 217 |
262 b10.s : mc-parse.c mc1 | 218 b10.s : mc-parse.c mc1 |
263 ./mc1 $(MCFLAG) -ob10.s mc-parse.c | 219 ./mc1 -s -ob10.s mc-parse.c |
264 b11.s : $(CODE) $(PRINTF) mc1 | 220 b11.s : $(CODE) $(PRINTF) mc1 |
265 ./mc1 $(MCFLAG) -ob11.s $(CODE) | 221 ./mc1 -s -ob11.s $(CODE) |
266 b12.s : mc-codegen.c mc1 | 222 b12.s : mc-codegen.c mc1 |
267 ./mc1 $(MCFLAG) -ob12.s mc-codegen.c | 223 ./mc1 -s -ob12.s mc-codegen.c |
268 b13.s : mc-tree.c mc1 | 224 b13.s : mc-tree.c mc1 |
269 ./mc1 $(MCFLAG) -ob13.s mc-tree.c | 225 ./mc1 -s -ob13.s mc-tree.c |
270 b14.s : mc-switch.c mc1 | 226 b14.s : mc-switch.c mc1 |
271 ./mc1 $(MCFLAG) -ob14.s mc-switch.c | 227 ./mc1 -s -ob14.s mc-switch.c |
272 | 228 |
273 b20.s : mc-parse.c mc2 | 229 b20.s : mc-parse.c mc2 |
274 ./mc2 $(MCFLAG) -ob20.s mc-parse.c | 230 ./mc2 -s -ob20.s mc-parse.c |
275 b21.s : $(CODE) $(PRINTF) mc2 | 231 b21.s : $(CODE) $(PRINTF) mc2 |
276 ./mc2 $(MCFLAG) -ob21.s $(CODE) | 232 ./mc2 -s -ob21.s $(CODE) |
277 b22.s : mc-codegen.c mc2 | 233 b22.s : mc-codegen.c mc2 |
278 ./mc2 $(MCFLAG) -ob22.s mc-codegen.c | 234 ./mc2 -s -ob22.s mc-codegen.c |
279 b23.s : mc-tree.c mc2 | 235 b23.s : mc-tree.c mc2 |
280 ./mc2 $(MCFLAG) -ob23.s mc-tree.c | 236 ./mc2 -s -ob23.s mc-tree.c |
281 b24.s : mc-switch.c mc1 | 237 b24.s : mc-switch.c mc1 |
282 ./mc2 $(MCFLAG) -ob24.s mc-switch.c | 238 ./mc2 -s -ob24.s mc-switch.c |
283 | 239 |
284 diff : b00.s b01.s b02.s b03.s b04.s b10.s b11.s b12.s b13.s b14.s | 240 diff : b00.s b01.s b02.s b03.s b04.s b10.s b11.s b12.s b13.s b14.s |
285 -diff b00.s b10.s | 241 -diff b00.s b10.s |
286 -diff b01.s b11.s | 242 -diff b01.s b11.s |
287 -diff b02.s b12.s | 243 -diff b02.s b12.s |