aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore2
-rw-r--r--Makefile6
2 files changed, 4 insertions, 4 deletions
diff --git a/.gitignore b/.gitignore
index 584bec6..64b56d4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,4 @@
-Makefile.dep
+.depends
notmuch
notmuch.1.gz
diff --git a/Makefile b/Makefile
index 1e7f5f2..a9d91d8 100644
--- a/Makefile
+++ b/Makefile
@@ -37,10 +37,10 @@ all: $(PROGS)
notmuch: $(MAIN) $(LIBRARY)
$(CC) $(NOTMUCH_LDFLAGS) $^ -o $@
-Makefile.dep: *.c lib/*.c lib/*.cc
+.depends: *.c lib/*.c lib/*.cc
$(CXX) -M $(CPPFLAGS) $(NOTMUCH_DEPENDS_FLAGS) \
$(NOTMUCH_CXX_DEPENDS_FLAGS) $^ > $@
--include Makefile.dep
+-include .depends
notmuch.1.gz:
gzip --stdout notmuch.1 > notmuch.1.gz
@@ -52,4 +52,4 @@ install: all notmuch.1.gz
$(DESTDIR)/etc/bash_completion.d/notmuch
clean:
- rm -f $(PROGS) lib/*.o *.o Makefile.dep
+ rm -f $(PROGS) lib/*.o *.o .depends