From 11c4e61b49640d5d5ac95e0b52f8139ac40b59c6 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Sun, 21 Jan 2007 17:09:31 +0100 Subject: Makefile: Consolidate CFLAGS --- Makefile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.3-54-g00ecf