comparison Makefile @ 365:5ac17fa9d7e0

bit-field constant assignment
author kono
date Wed, 07 Jul 2004 14:34:25 +0900
parents f3f2b7906d50
children 2d510935c37d
comparison
equal deleted inserted replaced
364:c29eebf3eaf4 365:5ac17fa9d7e0
78 make check TARGET=test/strinit 78 make check TARGET=test/strinit
79 make check TARGET=test/code-gen-all 79 make check TARGET=test/code-gen-all
80 make check TARGET=test/bitfield 80 make check TARGET=test/bitfield
81 make check TARGET=test/bitfield1 81 make check TARGET=test/bitfield1
82 make check TARGET=test/cext 82 make check TARGET=test/cext
83 make check TARGET=test/scope STDFLAG="-std=gnu99"
83 #MK =-make 84 #MK =-make
84 MK= 85 MK=
85 check-all-code: 86 check-all-code:
86 make check-code$(MK) TARGET=test/arg 87 make check-code$(MK) TARGET=test/arg
87 make check-code$(MK) TARGET=test/conv 88 make check-code$(MK) TARGET=test/conv
102 ( cd nkf203; perl test.pl ) 103 ( cd nkf203; perl test.pl )
103 104
104 # -./$(MC) -Itest/ -s $(TARGET).c 105 # -./$(MC) -Itest/ -s $(TARGET).c
105 106
106 check: $(MC) $(TARGET).c 107 check: $(MC) $(TARGET).c
107 -gcc -std=gnu99 $(TARGET).c -o b.out $(MLIB) 108 -gcc $(STDFLAG) $(TARGET).c -o b.out $(MLIB)
108 -./b.out > $(TARGET).gcc.out 109 -./b.out > $(TARGET).gcc.out
109 -./$(MC) -s $(TARGET).c 110 -./$(MC) -s $(TARGET).c
110 -gcc $(TARGET).s $(MLIB) 111 -gcc $(TARGET).s $(MLIB)
111 -./a.out > $(TARGET).$(MC).out 112 -./a.out > $(TARGET).$(MC).out
112 -diff $(TARGET).gcc.out $(TARGET).$(MC).out 113 -diff $(TARGET).gcc.out $(TARGET).$(MC).out