comparison Makefile @ 714:5fad4649bed8

*** empty log message ***
author kono
date Sun, 11 Nov 2007 20:11:35 +0900
parents 88e364604533
children 3f1f6c0610c1
comparison
equal deleted inserted replaced
713:88e364604533 714:5fad4649bed8
28 ppc: 28 ppc:
29 make ARCH=powerpc CCEXT="-arch ppc" check-all 29 make ARCH=powerpc CCEXT="-arch ppc" check-all
30 30
31 mc: mc-$(ARCH) 31 mc: mc-$(ARCH)
32 cp mc-$(ARCH) mc 32 cp mc-$(ARCH) mc
33
34 TAGS:
35 ctags mc-code-*.c mc-code.h mc-codegen.c mc-codegen.h \
36 mc-macro.c \
37 mc-parse.c mc-tree.c mc-switch.c mc-switch.h \
38 mc.h conv/c.c conv/c.h \
39 mc-inline.h mc-inline.c \
40 conv/conv.h conv/convdef.h conv/null.c
41 33
42 mc-powerpc :conv/conv.h mc-include.c mc-code-powerpc.o $(COMPLIB) $(CONVERTER) 34 mc-powerpc :conv/conv.h mc-include.c mc-code-powerpc.o $(COMPLIB) $(CONVERTER)
43 $(CC) $(LDFLAGS) -g mc-code-powerpc.o $(COMPLIB) $(CONVERTER) -o $@ 35 $(CC) $(LDFLAGS) -g mc-code-powerpc.o $(COMPLIB) $(CONVERTER) -o $@
44 36
45 mc-ia32 :conv/conv.h mc-include.c mc-code-ia32.o $(COMPLIB) $(CONVERTER) 37 mc-ia32 :conv/conv.h mc-include.c mc-code-ia32.o $(COMPLIB) $(CONVERTER)
204 196
205 tags: tags-$(ARCH) 197 tags: tags-$(ARCH)
206 198
207 tags-$(ARCH): 199 tags-$(ARCH):
208 ctags mc.h mc-code.h mc-code-$(ARCH).c mc-codegen.c mc-codegen.h \ 200 ctags mc.h mc-code.h mc-code-$(ARCH).c mc-codegen.c mc-codegen.h \
209 mc-parse.c mc-tree.c \ 201 mc-parse.h mc-tree.c mc-inline.h mc-switch.h \
202 mc-parse.c mc-tree.c mc-inline.c mc-switch.c \
203 mc-macro.h mc-macro.c \
210 conv/c.c conv/c.h \ 204 conv/c.c conv/c.h \
211 conv/conv.h conv/convdef.h 205 conv/conv.h conv/convdef.h
212 206
213 tar : 207 tar :
214 make clean 208 make clean
223 mc-code-arm.c \ 217 mc-code-arm.c \
224 mc-code-powerpc.c \ 218 mc-code-powerpc.c \
225 mc-code-mips.c 219 mc-code-mips.c
226 220
227 clean : 221 clean :
228 -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.c 222 -rm -f 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
229 223
230 mc1 : b00.s b01.s mc-codegen.o mc-tree.o mc-switch.o mc-macro.o mc-inline.o $(CONVERTER) 224 mc1 : b00.s b01.s mc-codegen.o mc-tree.o mc-switch.o mc-macro.o mc-inline.o $(CONVERTER)
231 $(CC) -g -o $@ $(PRINTF) b00.s b01.s mc-codegen.o mc-tree.o mc-switch.o mc-macro.o mc-inline.o $(CONVERTER) 225 $(CC) -g -o $@ $(PRINTF) b00.s b01.s mc-codegen.o mc-tree.o mc-switch.o mc-macro.o mc-inline.o $(CONVERTER)
232 226
233 mc2 : b00.s b01.s b02.s b03.s mc-macro.o mc-inline.o $(CONVERTER) 227 mc2 : b00.s b01.s b02.s b03.s mc-macro.o mc-inline.o $(CONVERTER)