X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=Makefile-ccan;h=fc0488d40f52cd34a00da1594a7df60729ac8158;hb=ab4d77b99238b1cce1b0ad33aa8ef1055c587889;hp=f1d76e6c8927ef111ac4f9c24b45eac669e08dd3;hpb=85c347709c1740af23dde53685475e5d8118125e;p=ccan diff --git a/Makefile-ccan b/Makefile-ccan index f1d76e6c..fc0488d4 100644 --- a/Makefile-ccan +++ b/Makefile-ccan @@ -2,9 +2,9 @@ # 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 -CCAN_CFLAGS=-g -Wall -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -CFLAGS = $(CCAN_CFLAGS) -I. $(DEPGEN) -Werror +#CCAN_CFLAGS=-g -O3 -Wall -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wwrite-strings -Wundef -DCCAN_STR_DEBUG=1 +CCAN_CFLAGS=-g3 -ggdb -Wall -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wwrite-strings -Wundef -DCCAN_STR_DEBUG=1 +CFLAGS = $(CCAN_CFLAGS) -I. $(DEPGEN) default: libccan.a