aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Carl Worth <cworth@cworth.org>2009-11-09 16:24:50 -0800
committerGravatar Carl Worth <cworth@cworth.org>2009-11-09 16:24:50 -0800
commit3cdb24d38aaa4cf043526a946e0a4ae290a6881d (patch)
treef5fe50fcc6cbdbf36d14007d3e617e91156b5ac5 /Makefile
parentb2846c6a2a8aa4bae6dde50c8d678dd1fd8d3d94 (diff)
Makefile: Hide away auto-generated dependency file as .depends.
Instead of the old name of Makefile.dep. The idea being that the user really doesn't need to see this by default, (and if debugging the Makefile, the rules will make the name obvious).
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 1e7f5f2c..a9d91d86 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