Mercurial > hg > CbC > old > device
comparison Makefile.mips @ 554:dc677ac7a744
emit_pop_free kills creg after emit_copy.
author | kono |
---|---|
date | Thu, 05 Jan 2006 23:37:19 +0900 |
parents | b6c10a4c0367 |
children | ad9ef203f95b |
comparison
equal
deleted
inserted
replaced
553:293f827ccfb2 | 554:dc677ac7a744 |
---|---|
59 | 59 |
60 check-all: check-all-c check-all-code | 60 check-all: check-all-c check-all-code |
61 | 61 |
62 check-all-c: | 62 check-all-c: |
63 make check TARGET=test/basic | 63 make check TARGET=test/basic |
64 make check-inline TARGET=test/basic | |
64 make check TARGET=test/call | 65 make check TARGET=test/call |
65 make check TARGET=test/fact0 | 66 make check TARGET=test/fact0 |
66 make check TARGET=test/float | 67 make check TARGET=test/float |
67 make check TARGET=test/ifdef | 68 make check TARGET=test/ifdef |
68 make check TARGET=test/int | 69 make check TARGET=test/int |
87 make check TARGET=test/long | 88 make check TARGET=test/long |
88 make check TARGET=test/tstdarg | 89 make check TARGET=test/tstdarg |
89 make check TARGET=test/switch | 90 make check TARGET=test/switch |
90 make check TARGET=test/strinit | 91 make check TARGET=test/strinit |
91 make check TARGET=test/code-gen-all | 92 make check TARGET=test/code-gen-all |
93 make check-inline TARGET=test/code-gen-all | |
92 make check TARGET=test/bitfield | 94 make check TARGET=test/bitfield |
93 make check TARGET=test/bitfield1 | 95 make check TARGET=test/bitfield1 |
94 make check TARGET=test/cext | 96 make check TARGET=test/cext |
95 make check TARGET=test/const | 97 make check TARGET=test/const |
96 make check TARGET=test/void_code | 98 make check TARGET=test/void_code |
99 make check TARGET=test/putenemy | |
97 make check TARGET=test/inline | 100 make check TARGET=test/inline |
98 make check TARGET=test/putenemy | |
99 # make check TARGET=test/scope STDFLAG="-std=gnu99" | 101 # make check TARGET=test/scope STDFLAG="-std=gnu99" |
102 # make check-inline TARGET=test/scope STDFLAG="-std=gnu99" | |
100 #MK =-make | 103 #MK =-make |
101 MK= | 104 MK= |
102 check-all-code: | 105 check-all-code: |
103 make check-code$(MK) TARGET=test/arg | 106 make check-code$(MK) TARGET=test/arg |
104 make check-code$(MK) TARGET=test/conv | 107 make check-code$(MK) TARGET=test/conv |
111 make check-code$(MK) TARGET=test/tmp1 | 114 make check-code$(MK) TARGET=test/tmp1 |
112 make check-code$(MK) TARGET=test/tmp2 | 115 make check-code$(MK) TARGET=test/tmp2 |
113 make check-code$(MK) TARGET=test/tmp4 | 116 make check-code$(MK) TARGET=test/tmp4 |
114 make check-code$(MK) TARGET=test/tmp6 | 117 make check-code$(MK) TARGET=test/tmp6 |
115 make check-code$(MK) TARGET=test/scope | 118 make check-code$(MK) TARGET=test/scope |
119 make check-code$(MK) TARGET=test/too-long-argument | |
116 | 120 |
117 check-nkf: | 121 check-nkf: |
118 ( cd nkf203; $(CC) -g -o nkf1 nkf.c utf8tbl.c ) | 122 ( cd nkf203; $(CC) -g -o nkf1 nkf.c utf8tbl.c ) |
119 ( cd nkf203; ../mc-$(ARCH) -s nkf.c utf8tbl.c ) | 123 ( cd nkf203; ../mc-$(ARCH) -s nkf.c utf8tbl.c ) |
120 ( cd nkf203; $(CC) -g -o nkf nkf.s utf8tbl.s ) | 124 ( cd nkf203; $(CC) -g -o nkf nkf.s utf8tbl.s ) |
121 ( cd nkf203; perl test.pl ) | 125 ( cd nkf203; perl test.pl ) |
122 | 126 |
123 # -./$(MC) -Itest/ -s $(TARGET).c | 127 # -./$(MC) -Itest/ -s $(TARGET).c |
124 | 128 |
125 check: $(MC) $(TARGET).c | 129 check: mc $(MC) $(TARGET).c |
126 -$(CC) $(CFLAGS1) $(STDFLAG) $(TARGET).c -o b.out $(MLIB) | 130 -$(CC) $(CFLAGS1) $(STDFLAG) $(TARGET).c -o b.out $(MLIB) |
127 -./b.out > $(TARGET).gcc.out | 131 -./b.out > $(TARGET).gcc.out |
128 -./$(MC) -s $(TARGET).c | 132 -./$(MC) -s $(TARGET).c |
129 -$(CC) $(TARGET).s $(MLIB) | 133 -$(CC) $(TARGET).s $(MLIB) |
130 -./a.out > $(TARGET).$(MC).out | 134 -./a.out > $(TARGET).$(MC).out |
131 -diff $(TARGET).gcc.out $(TARGET).$(MC).out | 135 -diff $(TARGET).gcc.out $(TARGET).$(MC).out |
132 | 136 |
133 check-code: $(MC) | 137 check-inline: mc $(MC) $(TARGET).c |
138 -$(CC) $(CFLAGS1) $(STDFLAG) $(TARGET).c -o b.out $(MLIB) | |
139 -./b.out > $(TARGET).gcc.out | |
140 -./$(MC) -s -DINLINE=inline $(TARGET).c | |
141 -$(CC) $(TARGET).s $(MLIB) | |
142 -./a.out > $(TARGET).$(MC).out | |
143 -diff $(TARGET).gcc.out $(TARGET).$(MC).out | |
144 | |
145 check-code: mc $(MC) | |
134 -./$(MC) -s $(TARGET).c | 146 -./$(MC) -s $(TARGET).c |
135 -$(CC) $(TARGET).s $(MLIB) | 147 -$(CC) $(TARGET).s $(MLIB) |
136 -./a.out > $(TARGET).$(MC).out | 148 -./a.out > $(TARGET).$(MC).out |
137 -diff $(TARGET).code-out $(TARGET).$(MC).out | 149 -diff $(TARGET).code-out $(TARGET).$(MC).out |
138 check-code-make: $(MC) | 150 check-code-make: mc $(MC) |
139 -./$(MC) -s $(TARGET).c | 151 -./$(MC) -s $(TARGET).c |
140 -$(CC) $(TARGET).s $(MLIB) | 152 -$(CC) $(TARGET).s $(MLIB) |
141 -./a.out > $(TARGET).code-out | 153 -./a.out > $(TARGET).code-out |
142 | 154 |
143 test/code-gen-all.c: test/code-gen.pl test/code-gen.c | 155 test/code-gen-all.c: test/code-gen.pl test/code-gen.c |
220 -diff b00.s b20.s | 232 -diff b00.s b20.s |
221 -diff b01.s b21.s | 233 -diff b01.s b21.s |
222 -diff b02.s b22.s | 234 -diff b02.s b22.s |
223 -diff b03.s b23.s | 235 -diff b03.s b23.s |
224 -diff b04.s b24.s | 236 -diff b04.s b24.s |
225 | |
226 | 237 |
227 # DO NOT DELETE | 238 # DO NOT DELETE |
228 | 239 |
229 mc-code-ia32.o: /usr/include/stdio.h /usr/include/features.h | 240 mc-code-ia32.o: /usr/include/stdio.h /usr/include/features.h |
230 mc-code-ia32.o: /usr/include/sys/cdefs.h /usr/include/gnu/stubs.h | 241 mc-code-ia32.o: /usr/include/sys/cdefs.h /usr/include/gnu/stubs.h |