summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@xenon.tklauser.home>2006-07-09 12:01:05 +0200
committerTobias Klauser <tklauser@xenon.tklauser.home>2006-07-09 12:01:05 +0200
commit7dc53f6d56aed9d76c58d44a2e5d6ac5c1ede723 (patch)
tree67d17845914848f7d167d5c0672f18e057dfde90 /Makefile
parentd24370320c83587237ce7018c49f68f5e28d4c18 (diff)
Only add -g to CFLAGS when debugging
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 4052a30..3d9eb3a 100644
--- a/Makefile
+++ b/Makefile
@@ -6,12 +6,12 @@ BINDIR = $(prefix)/bin
DESTDIR =
CC := gcc
-CFLAGS := -g -Wall -D_USE_SOURCE
+CFLAGS := -Wall -D_USE_SOURCE
DEBUG = false
ifeq ($(strip $(DEBUG)),true)
- CFLAGS += -DDEBUG
+ CFLAGS += -g -DDEBUG
endif
PROGRAMS := inotail inotail-old inotify-watchdir