summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2007-01-21 17:09:31 +0100
committerTobias Klauser <tklauser@xenon.tklauser.home>2007-01-21 17:09:31 +0100
commit11c4e61b49640d5d5ac95e0b52f8139ac40b59c6 (patch)
treee32c99918ad4e9d4c3c956d8a194dcb8e74741b3
parent2afded80981424e21164c9720241c094341a0875 (diff)
Makefile: Consolidate CFLAGS
-rw-r--r--Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 5895c63..16b61dc 100644
--- a/Makefile
+++ b/Makefile
@@ -11,11 +11,9 @@ prefix = /usr/local
DESTDIR =
CC := gcc
-CFLAGS := $(CFLAGS) -Wall -pipe -D_USE_SOURCE -DVERSION="\"$(VERSION)\""
-WARN := -Wstrict-prototypes -Wsign-compare -Wshadow \
- -Wchar-subscripts -Wmissing-declarations -Wnested-externs \
- -Wpointer-arith -Wcast-align -Wmissing-prototypes
-CFLAGS += $(WARN)
+CFLAGS := $(CFLAGS) -Wall -pipe -D_USE_SOURCE -DVERSION="\"$(VERSION)\"" \
+ -Wstrict-prototypes -Wsign-compare -Wshadow -Wchar-subscripts \
+ -Wmissing-declarations -Wpointer-arith -Wcast-align -Wmissing-prototypes
LDFLAGS :=
# Compile with 'make DEBUG=true' to enable debugging