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).
notmuch: $(MAIN) $(LIBRARY)
$(CC) $(NOTMUCH_LDFLAGS) $^ -o $@
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) $^ > $@
$(CXX) -M $(CPPFLAGS) $(NOTMUCH_DEPENDS_FLAGS) \
$(NOTMUCH_CXX_DEPENDS_FLAGS) $^ > $@
notmuch.1.gz:
gzip --stdout notmuch.1 > notmuch.1.gz
notmuch.1.gz:
gzip --stdout notmuch.1 > notmuch.1.gz
$(DESTDIR)/etc/bash_completion.d/notmuch
clean:
$(DESTDIR)/etc/bash_completion.d/notmuch
clean:
- rm -f $(PROGS) lib/*.o *.o Makefile.dep
+ rm -f $(PROGS) lib/*.o *.o .depends