From 3cdb24d38aaa4cf043526a946e0a4ae290a6881d Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Mon, 9 Nov 2009 16:24:50 -0800 Subject: [PATCH] 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). --- .gitignore | 2 +- Makefile | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 584bec60..64b56d4c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ -Makefile.dep +.depends notmuch notmuch.1.gz 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 -- 2.43.0