aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index c6ae04a..c926d46 100644
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,7 @@
### Override these variables as needed. Don't override CFLAGS; use
# MYCFLAGS instead.
-MYCFLAGS=-O2 -fPIC -Wall
+MYCFLAGS=-O2 -fPIC
# These only affect the 'install' target (they don't get compiled
# into the binary).
@@ -23,7 +23,8 @@ GZIP_MAN=yes
VERSION=0.1.0
DEFINES=-DVERSION='"$(VERSION)"'
-CFLAGS=$(MYCFLAGS) $(DEFINES)
+WARNFLAGS=-std=c89 -Wall -pedantic -Wextra
+CFLAGS=$(DEFINES) $(WARNFLAGS) $(MYCFLAGS)
.PHONY: all test man clean install