diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2007-01-21 17:09:31 +0100 |
---|---|---|
committer | Tobias Klauser <tklauser@xenon.tklauser.home> | 2007-01-21 17:09:31 +0100 |
commit | 11c4e61b49640d5d5ac95e0b52f8139ac40b59c6 (patch) | |
tree | e32c99918ad4e9d4c3c956d8a194dcb8e74741b3 | |
parent | 2afded80981424e21164c9720241c094341a0875 (diff) |
Makefile: Consolidate CFLAGS
-rw-r--r-- | Makefile | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -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 |