comparison Makefile @ 93:8f5d61239b93

*** empty log message ***
author kono
date Sun, 09 Mar 2003 18:31:00 +0900
parents 25654dc29ecc
children 1ad7045741a7
comparison
equal deleted inserted replaced
92:e7f8515ba882 93:8f5d61239b93
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 10
11 # CODE=mc-code-ia32.o
12 CODE=mc-code-powerpc.o
13
11 all: mc 14 all: mc
12 15
13 mc : mc-parse.o mc-codegen.o mc-code-ia32.o mc-tree.o $(CONVERTER) 16 mc : mc-parse.o mc-codegen.o $(CODE) mc-tree.o $(CONVERTER)
14 $(CC) -g mc-parse.o mc-codegen.o mc-code-ia32.o \ 17 $(CC) -g mc-parse.o mc-codegen.o $(CODE) \
15 mc-tree.o $(CONVERTER) -o $@ 18 mc-tree.o $(CONVERTER) -o $@
16 19
17 conv/conv.h: conv_func.tbl conv_func.pl 20 conv/conv.h: conv_func.tbl conv_func.pl
18 perl conv_func.pl 21 perl conv_func.pl
19 conv/convdef.h: conv_func.tbl conv_func.pl 22 conv/convdef.h: conv_func.tbl conv_func.pl
27 30
28 depend : 31 depend :
29 makedepend mc-code-ia32.c mc-code.h mc-codegen.c mc-codegen.h \ 32 makedepend mc-code-ia32.c mc-code.h mc-codegen.c mc-codegen.h \
30 mc-parse.c mc-tree.c mc.h \ 33 mc-parse.c mc-tree.c mc.h \
31 conv/c.c conv/c.h conv/c2cbc.c conv/c2cbc.h conv/cbc2c.c \ 34 conv/c.c conv/c.h conv/c2cbc.c conv/c2cbc.h conv/cbc2c.c \
32 conv/cbc2c.h conv/conv.h conv/convdef.h conv/null.c conv/null.h 35 conv/cbc2c.h conv/conv.h conv/convdef.h conv/null.c conv/null.h \
36 mc-code-powerpc.c
33 37
34 clean : 38 clean :
35 -rm -f *.bak *.s *.o *.cc mc mc1 a.out *~ core* */*.o *.bak test/*.s test/*.cc test/*.o test/*.bak test/*~ conv/*.s conv/*.cc conv/*.o conv/*.bak conv/*~ 39 -rm -f *.bak *.s *.o *.cc mc mc1 a.out *~ core* */*.o *.bak test/*.s test/*.cc test/*.o test/*.bak test/*~ conv/*.s conv/*.cc conv/*.o conv/*.bak conv/*~
36 40
37 mc1 : b00.s b01.s mc-codegen.o mc-tree.o $(CONVERTER) 41 mc1 : b00.s b01.s mc-codegen.o mc-tree.o $(CONVERTER)
54 mc-code-ia32.o: mc.h /usr/include/stdio.h /usr/include/sys/types.h 58 mc-code-ia32.o: mc.h /usr/include/stdio.h /usr/include/sys/types.h
55 mc-code-ia32.o: /usr/include/sys/appleapiopts.h /usr/include/sys/cdefs.h 59 mc-code-ia32.o: /usr/include/sys/appleapiopts.h /usr/include/sys/cdefs.h
56 mc-code-ia32.o: /usr/include/machine/types.h /usr/include/ppc/types.h 60 mc-code-ia32.o: /usr/include/machine/types.h /usr/include/ppc/types.h
57 mc-code-ia32.o: /usr/include/machine/ansi.h /usr/include/ppc/ansi.h 61 mc-code-ia32.o: /usr/include/machine/ansi.h /usr/include/ppc/ansi.h
58 mc-code-ia32.o: /usr/include/machine/endian.h /usr/include/ppc/endian.h 62 mc-code-ia32.o: /usr/include/machine/endian.h /usr/include/ppc/endian.h
59 mc-code-ia32.o: conv/conv.h conv/c.h mc-codegen.h 63 mc-code-ia32.o: conv/conv.h mc-codegen.h
60 mc-codegen.o: mc.h /usr/include/stdio.h /usr/include/sys/types.h 64 mc-codegen.o: mc.h /usr/include/stdio.h /usr/include/sys/types.h
61 mc-codegen.o: /usr/include/sys/appleapiopts.h /usr/include/sys/cdefs.h 65 mc-codegen.o: /usr/include/sys/appleapiopts.h /usr/include/sys/cdefs.h
62 mc-codegen.o: /usr/include/machine/types.h /usr/include/ppc/types.h 66 mc-codegen.o: /usr/include/machine/types.h /usr/include/ppc/types.h
63 mc-codegen.o: /usr/include/machine/ansi.h /usr/include/ppc/ansi.h 67 mc-codegen.o: /usr/include/machine/ansi.h /usr/include/ppc/ansi.h
64 mc-codegen.o: /usr/include/machine/endian.h /usr/include/ppc/endian.h 68 mc-codegen.o: /usr/include/machine/endian.h /usr/include/ppc/endian.h
65 mc-codegen.o: conv/conv.h conv/c.h mc-codegen.h mc-code.h 69 mc-codegen.o: conv/conv.h mc-codegen.h mc-code.h
66 mc-parse.o: mc.h /usr/include/stdio.h /usr/include/sys/types.h 70 mc-parse.o: mc.h /usr/include/stdio.h /usr/include/sys/types.h
67 mc-parse.o: /usr/include/sys/appleapiopts.h /usr/include/sys/cdefs.h 71 mc-parse.o: /usr/include/sys/appleapiopts.h /usr/include/sys/cdefs.h
68 mc-parse.o: /usr/include/machine/types.h /usr/include/ppc/types.h 72 mc-parse.o: /usr/include/machine/types.h /usr/include/ppc/types.h
69 mc-parse.o: /usr/include/machine/ansi.h /usr/include/ppc/ansi.h 73 mc-parse.o: /usr/include/machine/ansi.h /usr/include/ppc/ansi.h
70 mc-parse.o: /usr/include/machine/endian.h /usr/include/ppc/endian.h 74 mc-parse.o: /usr/include/machine/endian.h /usr/include/ppc/endian.h
71 mc-parse.o: conv/conv.h conv/c.h mc-codegen.h 75 mc-parse.o: conv/conv.h mc-codegen.h
72 mc-tree.o: mc.h /usr/include/stdio.h /usr/include/sys/types.h 76 mc-tree.o: mc.h /usr/include/stdio.h /usr/include/sys/types.h
73 mc-tree.o: /usr/include/sys/appleapiopts.h /usr/include/sys/cdefs.h 77 mc-tree.o: /usr/include/sys/appleapiopts.h /usr/include/sys/cdefs.h
74 mc-tree.o: /usr/include/machine/types.h /usr/include/ppc/types.h 78 mc-tree.o: /usr/include/machine/types.h /usr/include/ppc/types.h
75 mc-tree.o: /usr/include/machine/ansi.h /usr/include/ppc/ansi.h 79 mc-tree.o: /usr/include/machine/ansi.h /usr/include/ppc/ansi.h
76 mc-tree.o: /usr/include/machine/endian.h /usr/include/ppc/endian.h 80 mc-tree.o: /usr/include/machine/endian.h /usr/include/ppc/endian.h
77 mc-tree.o: conv/conv.h conv/c.h 81 mc-tree.o: conv/conv.h
78 mc.o: /usr/include/stdio.h /usr/include/sys/types.h 82 mc.o: /usr/include/stdio.h /usr/include/sys/types.h
79 mc.o: /usr/include/sys/appleapiopts.h /usr/include/sys/cdefs.h 83 mc.o: /usr/include/sys/appleapiopts.h /usr/include/sys/cdefs.h
80 mc.o: /usr/include/machine/types.h /usr/include/ppc/types.h 84 mc.o: /usr/include/machine/types.h /usr/include/ppc/types.h
81 mc.o: /usr/include/machine/ansi.h /usr/include/ppc/ansi.h 85 mc.o: /usr/include/machine/ansi.h /usr/include/ppc/ansi.h
82 mc.o: /usr/include/machine/endian.h /usr/include/ppc/endian.h conv/conv.h 86 mc.o: /usr/include/machine/endian.h /usr/include/ppc/endian.h conv/conv.h
83 mc.o: conv/c.h
84 conv/c.o: mc.h /usr/include/stdio.h /usr/include/sys/types.h 87 conv/c.o: mc.h /usr/include/stdio.h /usr/include/sys/types.h
85 conv/c.o: /usr/include/sys/appleapiopts.h /usr/include/sys/cdefs.h 88 conv/c.o: /usr/include/sys/appleapiopts.h /usr/include/sys/cdefs.h
86 conv/c.o: /usr/include/machine/types.h /usr/include/ppc/types.h 89 conv/c.o: /usr/include/machine/types.h /usr/include/ppc/types.h
87 conv/c.o: /usr/include/machine/ansi.h /usr/include/ppc/ansi.h 90 conv/c.o: /usr/include/machine/ansi.h /usr/include/ppc/ansi.h
88 conv/c.o: /usr/include/machine/endian.h /usr/include/ppc/endian.h conv/conv.h 91 conv/c.o: /usr/include/machine/endian.h /usr/include/ppc/endian.h conv/conv.h
89 conv/c.o: conv/c.h conv/convdef.h 92 conv/c.o: conv/convdef.h conv/c.h
90 conv/c2cbc.o: mc.h /usr/include/stdio.h /usr/include/sys/types.h 93 conv/c2cbc.o: mc.h /usr/include/stdio.h /usr/include/sys/types.h
91 conv/c2cbc.o: /usr/include/sys/appleapiopts.h /usr/include/sys/cdefs.h 94 conv/c2cbc.o: /usr/include/sys/appleapiopts.h /usr/include/sys/cdefs.h
92 conv/c2cbc.o: /usr/include/machine/types.h /usr/include/ppc/types.h 95 conv/c2cbc.o: /usr/include/machine/types.h /usr/include/ppc/types.h
93 conv/c2cbc.o: /usr/include/machine/ansi.h /usr/include/ppc/ansi.h 96 conv/c2cbc.o: /usr/include/machine/ansi.h /usr/include/ppc/ansi.h
94 conv/c2cbc.o: /usr/include/machine/endian.h /usr/include/ppc/endian.h 97 conv/c2cbc.o: /usr/include/machine/endian.h /usr/include/ppc/endian.h
95 conv/c2cbc.o: conv/conv.h conv/c.h 98 conv/c2cbc.o: conv/conv.h
96 conv/cbc2c.o: mc.h /usr/include/stdio.h /usr/include/sys/types.h 99 conv/cbc2c.o: mc.h /usr/include/stdio.h /usr/include/sys/types.h
97 conv/cbc2c.o: /usr/include/sys/appleapiopts.h /usr/include/sys/cdefs.h 100 conv/cbc2c.o: /usr/include/sys/appleapiopts.h /usr/include/sys/cdefs.h
98 conv/cbc2c.o: /usr/include/machine/types.h /usr/include/ppc/types.h 101 conv/cbc2c.o: /usr/include/machine/types.h /usr/include/ppc/types.h
99 conv/cbc2c.o: /usr/include/machine/ansi.h /usr/include/ppc/ansi.h 102 conv/cbc2c.o: /usr/include/machine/ansi.h /usr/include/ppc/ansi.h
100 conv/cbc2c.o: /usr/include/machine/endian.h /usr/include/ppc/endian.h 103 conv/cbc2c.o: /usr/include/machine/endian.h /usr/include/ppc/endian.h
101 conv/cbc2c.o: conv/conv.h conv/c.h 104 conv/cbc2c.o: conv/conv.h
102 conv/null.o: mc.h /usr/include/stdio.h /usr/include/sys/types.h 105 conv/null.o: mc.h /usr/include/stdio.h /usr/include/sys/types.h
103 conv/null.o: /usr/include/sys/appleapiopts.h /usr/include/sys/cdefs.h 106 conv/null.o: /usr/include/sys/appleapiopts.h /usr/include/sys/cdefs.h
104 conv/null.o: /usr/include/machine/types.h /usr/include/ppc/types.h 107 conv/null.o: /usr/include/machine/types.h /usr/include/ppc/types.h
105 conv/null.o: /usr/include/machine/ansi.h /usr/include/ppc/ansi.h 108 conv/null.o: /usr/include/machine/ansi.h /usr/include/ppc/ansi.h
106 conv/null.o: /usr/include/machine/endian.h /usr/include/ppc/endian.h 109 conv/null.o: /usr/include/machine/endian.h /usr/include/ppc/endian.h
107 conv/null.o: conv/conv.h conv/c.h 110 conv/null.o: conv/conv.h conv/convdef.h conv/null.h
111 mc-code-powerpc.o: mc.h /usr/include/stdio.h /usr/include/sys/types.h
112 mc-code-powerpc.o: /usr/include/sys/appleapiopts.h /usr/include/sys/cdefs.h
113 mc-code-powerpc.o: /usr/include/machine/types.h /usr/include/ppc/types.h
114 mc-code-powerpc.o: /usr/include/machine/ansi.h /usr/include/ppc/ansi.h
115 mc-code-powerpc.o: /usr/include/machine/endian.h /usr/include/ppc/endian.h
116 mc-code-powerpc.o: conv/conv.h mc-codegen.h