Enable compiler warnings in makefile
authorPeter Colberg <peter@colberg.org>
Thu, 29 Oct 2015 05:17:20 +0000 (01:17 -0400)
committerPeter Colberg <peter@colberg.org>
Thu, 29 Oct 2015 05:17:20 +0000 (01:17 -0400)
Makefile

index 29a3261e14b47924eb16e2df7b7928d351274e9e..61e723a10a83d09c533ac6bdc7513619672152a7 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -10,7 +10,8 @@ INSTALL=install
 CFLAGS ?= -O2
 PICFLAG = -fPIC
 C99FLAG = -std=c99
-UCFLAGS = $(CFLAGS) $(PICFLAG) $(C99FLAG) -DUTF8PROC_EXPORTS
+WCFLAGS = -Wall -Wmissing-prototypes -pedantic
+UCFLAGS = $(CFLAGS) $(PICFLAG) $(C99FLAG) $(WCFLAGS) -DUTF8PROC_EXPORTS
 
 # shared-library version MAJOR.MINOR.PATCH ... this may be *different*
 # from the utf8proc version number because it indicates ABI compatibility,