summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2007-02-09 20:07:02 +0100
committerTobias Klauser <tklauser@xenon.tklauser.home>2007-02-09 20:07:02 +0100
commit2b7b13a4ad92ed14f7f2da2aa3cc7a1f7ebdb875 (patch)
tree4b843791fc28a2ff09535d91ef43436662107d98
parent52d55f8b2c68a9d5c7fd207473133adc3ff73dcd (diff)
Makefile: Add -W to CFLAGS
According to TAOSA chapter 6 -Wall does not warn about some bug types.
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 16b61dc..5687c8c 100644
--- a/Makefile
+++ b/Makefile
@@ -11,7 +11,7 @@ prefix = /usr/local
DESTDIR =
CC := gcc
-CFLAGS := $(CFLAGS) -Wall -pipe -D_USE_SOURCE -DVERSION="\"$(VERSION)\"" \
+CFLAGS := $(CFLAGS) -W -Wall -pipe -D_USE_SOURCE -DVERSION="\"$(VERSION)\"" \
-Wstrict-prototypes -Wsign-compare -Wshadow -Wchar-subscripts \
-Wmissing-declarations -Wpointer-arith -Wcast-align -Wmissing-prototypes
LDFLAGS :=