comparison Makefile @ 551:73ebe9d82a9c

inline (scope.c/GNU extension) continue...
author kono
date Wed, 04 Jan 2006 14:55:46 +0900 (2006-01-04)
parents df60b120675d
children ef225b589888
comparison
equal deleted inserted replaced
550:df60b120675d 551:73ebe9d82a9c
124 ( cd nkf203; $(CC) -g -o nkf nkf.s utf8tbl.s ) 124 ( cd nkf203; $(CC) -g -o nkf nkf.s utf8tbl.s )
125 ( cd nkf203; perl test.pl ) 125 ( cd nkf203; perl test.pl )
126 126
127 # -./$(MC) -Itest/ -s $(TARGET).c 127 # -./$(MC) -Itest/ -s $(TARGET).c
128 128
129 check: $(MC) $(TARGET).c 129 check: mc $(MC) $(TARGET).c
130 -$(CC) $(CFLAGS1) $(STDFLAG) $(TARGET).c -o b.out $(MLIB) 130 -$(CC) $(CFLAGS1) $(STDFLAG) $(TARGET).c -o b.out $(MLIB)
131 -./b.out > $(TARGET).gcc.out 131 -./b.out > $(TARGET).gcc.out
132 -./$(MC) -s $(TARGET).c 132 -./$(MC) -s $(TARGET).c
133 -$(CC) $(TARGET).s $(MLIB) 133 -$(CC) $(TARGET).s $(MLIB)
134 -./a.out > $(TARGET).$(MC).out 134 -./a.out > $(TARGET).$(MC).out
135 -diff $(TARGET).gcc.out $(TARGET).$(MC).out 135 -diff $(TARGET).gcc.out $(TARGET).$(MC).out
136 136
137 check-inline: $(MC) $(TARGET).c 137 check-inline: mc $(MC) $(TARGET).c
138 -$(CC) $(CFLAGS1) $(STDFLAG) $(TARGET).c -o b.out $(MLIB) 138 -$(CC) $(CFLAGS1) $(STDFLAG) $(TARGET).c -o b.out $(MLIB)
139 -./b.out > $(TARGET).gcc.out 139 -./b.out > $(TARGET).gcc.out
140 -./$(MC) -s -DINLINE=inline $(TARGET).c 140 -./$(MC) -s -DINLINE=inline $(TARGET).c
141 -$(CC) $(TARGET).s $(MLIB) 141 -$(CC) $(TARGET).s $(MLIB)
142 -./a.out > $(TARGET).$(MC).out 142 -./a.out > $(TARGET).$(MC).out
143 -diff $(TARGET).gcc.out $(TARGET).$(MC).out 143 -diff $(TARGET).gcc.out $(TARGET).$(MC).out
144 144
145 check-code: $(MC) 145 check-code: mc $(MC)
146 -./$(MC) -s $(TARGET).c 146 -./$(MC) -s $(TARGET).c
147 -$(CC) $(TARGET).s $(MLIB) 147 -$(CC) $(TARGET).s $(MLIB)
148 -./a.out > $(TARGET).$(MC).out 148 -./a.out > $(TARGET).$(MC).out
149 -diff $(TARGET).code-out $(TARGET).$(MC).out 149 -diff $(TARGET).code-out $(TARGET).$(MC).out
150 check-code-make: $(MC) 150 check-code-make: mc $(MC)
151 -./$(MC) -s $(TARGET).c 151 -./$(MC) -s $(TARGET).c
152 -$(CC) $(TARGET).s $(MLIB) 152 -$(CC) $(TARGET).s $(MLIB)
153 -./a.out > $(TARGET).code-out 153 -./a.out > $(TARGET).code-out
154 154
155 test/code-gen-all.c: test/code-gen.pl test/code-gen.c 155 test/code-gen-all.c: test/code-gen.pl test/code-gen.c