Mercurial > hg > CbC > old > device
diff Makefile.ia32 @ 704:6e6dc2d644ed
*** empty log message ***
author | kono |
---|---|
date | Wed, 24 Oct 2007 00:13:06 +0900 |
parents | 5e71527f9fd6 |
children | afcba0382231 |
line wrap: on
line diff
--- a/Makefile.ia32 Tue Oct 23 16:19:09 2007 +0900 +++ b/Makefile.ia32 Wed Oct 24 00:13:06 2007 +0900 @@ -1,5 +1,4 @@ -# CC = gcc -std=c99 -CC = cc +CC = gcc -std=c99 $(CCEXT) # -O3 MCFLAGS = -DUSE_CODE_KEYWORD CFLAGS = -g -O -Wall -I. $(MCFLAGS) @@ -26,6 +25,9 @@ all: mc +ppc: + make ARCH=powerpc CCEXT="-arch ppc" check-all + mc: mc-$(ARCH) cp mc-$(ARCH) mc @@ -37,19 +39,19 @@ mc-inline.h mc-inline.c \ conv/conv.h conv/convdef.h conv/null.c -mc-powerpc :mc-include.c mc-code-powerpc.o $(COMPLIB) $(CONVERTER) +mc-powerpc :conv/conv.h mc-include.c mc-code-powerpc.o $(COMPLIB) $(CONVERTER) $(CC) $(LDFLAGS) -g mc-code-powerpc.o $(COMPLIB) $(CONVERTER) -o $@ -mc-ia32 :mc-include.c mc-code-ia32.o $(COMPLIB) $(CONVERTER) +mc-ia32 :conv/conv.h mc-include.c mc-code-ia32.o $(COMPLIB) $(CONVERTER) $(CC) $(LDFLAGS) -g mc-code-ia32.o $(COMPLIB) $(CONVERTER) -o $@ -mc-mips :mc-include.c mc-code-mips.o $(COMPLIB) $(CONVERTER) +mc-mips :conv/conv.h mc-include.c mc-code-mips.o $(COMPLIB) $(CONVERTER) $(CC) $(LDFLAGS) -g mc-code-mips.o $(COMPLIB) $(CONVERTER) -o $@ -mc-arm :mc-include.c mc-code-arm.o $(COMPLIB) $(CONVERTER) +mc-arm :conv/conv.h mc-include.c mc-code-arm.o $(COMPLIB) $(CONVERTER) $(CC) $(LDFLAGS) -g mc-code-arm.o $(COMPLIB) $(CONVERTER) -o $@ -mc-spu :mc-include.c mc-code-spu.o $(COMPLIB) $(CONVERTER) +mc-spu :conv/conv.h mc-include.c mc-code-spu.o $(COMPLIB) $(CONVERTER) $(CC) $(LDFLAGS) -g mc-code-spu.o $(COMPLIB) $(CONVERTER) -o $@ conv/conv.h: conv_func.tbl tools/conv_func.pl @@ -89,6 +91,7 @@ make check TARGET=test/tmp12 make check TARGET=test/tmp5 make check TARGET=test/tmp7 + make check-inline TARGET=test/tmp7 make check TARGET=test/tmp8 make check TARGET=test/tmp9 make check TARGET=test/enum @@ -132,7 +135,7 @@ make check-code$(MK) TARGET=test/throw make check-code$(MK) TARGET=test/too-long-argument -check-nkf: +check-nkf: mc ( cd nkf203; $(CC) -g -o nkf1 nkf.c utf8tbl.c ) ( cd nkf203; ../mc-$(ARCH) -s nkf.c utf8tbl.c ) ( cd nkf203; $(CC) -g -o nkf nkf.s utf8tbl.s )