X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=Makefile-ccan;h=ba83f4ae6ca45b02e574015f0251d207bd909c17;hp=53c91884265ed26ea92b8e2bd5084bd71a78e62a;hb=024fbb5f9682d3187b65849948c372c3879ed9bd;hpb=6a4a813de2610ff977ff521778aad67a0e9394b5 diff --git a/Makefile-ccan b/Makefile-ccan index 53c91884..ba83f4ae 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 -Werror -#CCAN_CFLAGS=-g -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 -Wpointer-arith -Wwrite-strings -DCCAN_STR_DEBUG=1 +CFLAGS = $(CCAN_CFLAGS) -I. $(DEPGEN) -Werror default: libccan.a