projects
/
utf8proc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09360de
)
Enable compiler warnings in makefile
author
Peter Colberg
<peter@colberg.org>
Thu, 29 Oct 2015 05:17:20 +0000
(
01:17
-0400)
committer
Peter Colberg
<peter@colberg.org>
Thu, 29 Oct 2015 05:17:20 +0000
(
01:17
-0400)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/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,