From f314738f718d27c777d7ae97c47664c716efd0f7 Mon Sep 17 00:00:00 2001 From: Peter Colberg Date: Thu, 29 Oct 2015 01:17:20 -0400 Subject: Enable compiler warnings in makefile --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 29a3261..61e723a 100644 --- 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, -- cgit v1.2.3