summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-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