diff Makefile @ 365:5ac17fa9d7e0

bit-field constant assignment
author kono
date Wed, 07 Jul 2004 14:34:25 +0900
parents f3f2b7906d50
children 2d510935c37d
line wrap: on
line diff
--- a/Makefile	Tue Jul 06 17:55:40 2004 +0900
+++ b/Makefile	Wed Jul 07 14:34:25 2004 +0900
@@ -80,6 +80,7 @@
 	make check TARGET=test/bitfield
 	make check TARGET=test/bitfield1
 	make check TARGET=test/cext
+	make check TARGET=test/scope STDFLAG="-std=gnu99"
 #MK =-make
 MK=
 check-all-code:
@@ -104,7 +105,7 @@
 #	-./$(MC) -Itest/ -s $(TARGET).c
 
 check: $(MC) $(TARGET).c
-	-gcc  -std=gnu99 $(TARGET).c -o b.out $(MLIB)
+	-gcc $(STDFLAG) $(TARGET).c -o b.out $(MLIB)
 	-./b.out > $(TARGET).gcc.out
 	-./$(MC) -s $(TARGET).c
 	-gcc $(TARGET).s $(MLIB)