]> git.ozlabs.org Git - ccan/blobdiff - Makefile-ccan
ccanlint: remove -Werror, use output of compile command to detect warnings.
[ccan] / Makefile-ccan
index 4364bc160d817806747696d70816a9a920e94582..f1d76e6c8927ef111ac4f9c24b45eac669e08dd3 100644 (file)
@@ -2,10 +2,10 @@
 # For simple projects you could just do:
 #      SRCFILES += $(wildcard ccan/*/*.c)
 
-CCAN_CFLAGS=-g -O3 -Wall -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Werror
-CFLAGS = $(CCAN_CFLAGS) -I. $(DEPGEN)
+#CCAN_CFLAGS=-g -O3 -Wall -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations
+CCAN_CFLAGS=-g -Wall -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations
+CFLAGS = $(CCAN_CFLAGS) -I. $(DEPGEN) -Werror
 
-#CFLAGS=-g -Wall -Wstrict-prototypes -Wold-style-definition -Werror $(DEPGEN)
 
 default: libccan.a