summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@xenon.tklauser.home>2006-07-01 16:57:56 +0200
committerTobias Klauser <tklauser@xenon.tklauser.home>2006-07-01 16:57:56 +0200
commitb40e6a468fc5851f8688c53c3cee68bd267bde04 (patch)
tree21b1f23e2e8eab30b7441a3da221a36d0dca43c3
parentb19e7a6a88355d32501b48a0b3f6b7f56c463b2a (diff)
Only build inotail on 'make all'
-rw-r--r--Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 6992405..133e497 100644
--- a/Makefile
+++ b/Makefile
@@ -4,17 +4,17 @@ BINDIR = ${prefix}/bin
DESTDIR =
CC := gcc
-CFLAGS := -Wall -D_USE_SOURCE
-
INSTALL := install
+CFLAGS := -g -Wall -D_USE_SOURCE
+
DEBUG = false
ifeq ($(strip $(DEBUG)),true)
- CFLAGS += -g -DDEBUG
+ CFLAGS += -DDEBUG
endif
-PROGRAMS := inotail inotail-old inotify-watchdir #simpletail
+PROGRAMS := inotail #inotail-old inotify-watchdir simpletail
all: $(PROGRAMS)
@@ -24,7 +24,7 @@ inotail-old: inotail-old.o
inotify-watchdir: inotify-watchdir.o
-#simpletail: simpletail.o
+simpletail: simpletail.o
%.o: %.c
$(CC) $(CFLAGS) -c $< -o $@