summaryrefslogtreecommitdiffabout
authorLynn Lin <Lin_Lynn@emc.com>2010-07-15 06:38:06 (UTC)
committer Lars Hjemli <hjemli@gmail.com>2010-07-22 21:32:06 (UTC)
commitab610292014c938a8f4e4004e9365bfc6cf9cbd6 (patch) (unidiff)
tree90fdeda7abec710e7516612828415bfbca444ffa
parent6821d8ea4a64d15b8f284d1af01ab184ef1e76c3 (diff)
downloadcgit-ab610292014c938a8f4e4004e9365bfc6cf9cbd6.zip
cgit-ab610292014c938a8f4e4004e9365bfc6cf9cbd6.tar.gz
cgit-ab610292014c938a8f4e4004e9365bfc6cf9cbd6.tar.bz2
Makefile: do not include dependency-file on `make clean`
When envoking clean target, make should not perform the dependency file generation triggered by include.
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 3a4d974..8b426fe 100644
--- a/Makefile
+++ b/Makefile
@@ -140,5 +140,7 @@ cgit: $(OBJECTS) libgit
140cgit.o: VERSION 140cgit.o: VERSION
141 141
142-include $(OBJECTS:.o=.d) 142ifneq "$(MAKECMDGOALS)" "clean"
143 -include $(OBJECTS:.o=.d)
144endif
143 145
144libgit: 146libgit: