summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2007-01-04 00:05:41 +0100
committerTobias Klauser <tklauser@xenon.tklauser.home>2007-01-04 00:05:41 +0100
commit354464469fe7bc1db5bca61b7c0561f900ecf424 (patch)
tree612d7c8577277abde89f2892f029282751f1c707 /Makefile
parentda34c01b19388fa4378f95ab8209f88bf1bfb9a4 (diff)
Makefile: Add custom (e.g. optimization) CFLAGS to our CFLAGS
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 88f7770..0988efd 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
# Makefile for inotail
#
-# Copyright (C) 2006, Tobias Klauser <tklauser@distanz.ch>
+# Copyright (C) 2006, 2007 Tobias Klauser <tklauser@distanz.ch>
#
# Licensed under the terms of the GNU General Public License; version 2 or later.
@@ -11,7 +11,7 @@ prefix = /usr
DESTDIR =
CC := gcc
-CFLAGS := -Wall -pipe -D_USE_SOURCE -DVERSION="\"$(VERSION)\""
+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