comparison Makefile @ 109:e09f9de6f5d3

*** empty log message ***
author kono
date Wed, 19 Mar 2003 02:22:33 +0900
parents 1ad7045741a7
children 07b91b625f84
comparison
equal deleted inserted replaced
108:69e2e763cce5 109:e09f9de6f5d3
6 MC=mc 6 MC=mc
7 PRINTF= # printf.c 7 PRINTF= # printf.c
8 CONVERTER=conv/c.o conv/null.o 8 CONVERTER=conv/c.o conv/null.o
9 # conv/c2cbc.o conv/cbc2c.o 9 # conv/c2cbc.o conv/cbc2c.o
10 COMPLIB = mc-parse.o mc-codegen.o mc-tree.o 10 COMPLIB = mc-parse.o mc-codegen.o mc-tree.o
11 # CODE=mc-code-ia32.o 11 # CODE=mc-code-ia32.c
12 CODE=mc-code-powerpc.o 12 CODE=mc-code-powerpc.c
13 13
14 all: mc mc-ia32 mc-powerpc 14 all: mc mc-ia32 mc-powerpc
15 15
16 mc: mc-powerpc 16 mc: mc-powerpc
17 cp mc-powerpc mc 17 cp mc-powerpc mc
45 45
46 mc1 : b00.s b01.s mc-codegen.o mc-tree.o $(CONVERTER) 46 mc1 : b00.s b01.s mc-codegen.o mc-tree.o $(CONVERTER)
47 $(CC) -g -o $@ $(PRINTF) b00.s b01.s mc-codegen.o mc-tree.o $(CONVERTER) 47 $(CC) -g -o $@ $(PRINTF) b00.s b01.s mc-codegen.o mc-tree.o $(CONVERTER)
48 b00.s : mc-parse.c $(MC) 48 b00.s : mc-parse.c $(MC)
49 ./$(MC) -s -ob00.s mc-parse.c 49 ./$(MC) -s -ob00.s mc-parse.c
50 b01.s : mc-code-ia32.c $(MC) 50 b01.s : $(CODE) $(MC)
51 ./$(MC) -s -ob01.s mc-code-ia32.c 51 ./$(MC) -s -ob01.s $(CODE)
52 b10.s : mc-parse.c mc1 52 b10.s : mc-parse.c mc1
53 ./mc1 -s -ob10.s mc-parse.c 53 ./mc1 -s -ob10.s mc-parse.c
54 b11.s : mc-code-ia32.c $(PRINTF) mc1 54 b11.s : $(CODE) $(PRINTF) mc1
55 ./mc1 -s -ob11.s mc-code-ia32.c 55 ./mc1 -s -ob11.s $(CODE)
56 56
57 diff : b00.s b01.s b10.s b11.s 57 diff : b00.s b01.s b10.s b11.s
58 -diff b00.s b10.s 58 -diff b00.s b10.s
59 -diff b01.s b11.s 59 -diff b01.s b11.s
60 60