Mercurial > hg > CbC > old > device
diff Makefile @ 61:8ffb8ca3fe34
separation of architecture dependent part.
author | kono |
---|---|
date | Thu, 20 Feb 2003 03:29:15 +0900 |
parents | eeca07d1b1c2 |
children | 129f4802b027 |
line wrap: on
line diff
--- a/Makefile Wed Feb 19 21:22:49 2003 +0900 +++ b/Makefile Thu Feb 20 03:29:15 2003 +0900 @@ -9,8 +9,10 @@ all: mc -mc : mc-parse.o mc-nop-386.o mc-tree.o $(CONVERTER) - $(CC) -g mc-parse.o mc-nop-386.o mc-tree.o $(CONVERTER) -o $@ +mc : mc-parse.o mc-codegen.o mc-code-ia32.o mc-tree.o $(CONVERTER) + $(CC) -g mc-parse.o mc-codegen.o mc-code-ia32.o \ + mc-tree.o $(CONVERTER) -o $@ + tar : make clean tar cBf - . | gzip > ../comp.tgz @@ -19,7 +21,7 @@ makedepend mc-parse.c mc-nop-386.c mc-tree.c clean : - -rm -f *.s *.o mc mc1 a.out *~ core* + -rm -f *.s *.o mc mc1 a.out *~ core* */*.o mc1 : b00.s b01.s mc-tree.o $(CC) -g -o $@ $(PRINTF) mc-tree.o b00.s b01.s