summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@xenon.tklauser.home>2006-08-13 18:04:36 +0200
committerTobias Klauser <tklauser@xenon.tklauser.home>2006-08-13 18:04:36 +0200
commit730313bb52906b7045964e1563a396d9434ee7d6 (patch)
tree3fbfb0afabb80e4bcbea5812bde745b54f8e4419
parent10e890d0eb9ad567f859d0470a7a001c819a9fcb (diff)
Makefile cleanups
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 4524ed6..2547ca5 100644
--- a/Makefile
+++ b/Makefile
@@ -20,12 +20,12 @@ ifeq ($(strip $(DEBUG)),true)
CFLAGS += -g -DDEBUG
endif
-all: inotail
+all: Makefile inotail
inotail: inotail.o
inotail-old: inotail-old.o
inotify-watchdir: inotify-watchdir.o
-%.o: %.c
+%.o: %.c %.h
$(CC) $(CFLAGS) -c $< -o $@
install: inotail
@@ -39,6 +39,6 @@ release:
git-tar-tree HEAD inotail-$(VERSION) | bzip2 -9v > ../inotail-$(VERSION).tar.bz2
clean:
+ rm -f inotail
rm -f *.o
- rm -f $(PROGRAMS)
rm -f cscope.out