summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Colberg <peter@colberg.org>2015-10-29 01:17:20 -0400
committerPeter Colberg <peter@colberg.org>2015-10-29 01:17:20 -0400
commitf314738f718d27c777d7ae97c47664c716efd0f7 (patch)
treef4b75a196aa210bf3606dd134d6f8183e45e0975
parent09360de1865e0e8dd59fc1e5038935f89b3f21cb (diff)
downloadlibutf8proc-f314738f718d27c777d7ae97c47664c716efd0f7.tar.gz
libutf8proc-f314738f718d27c777d7ae97c47664c716efd0f7.tar.bz2
Enable compiler warnings in makefile
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
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,