diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 |