Makefile: do not include dependency-file on make clean

When envoking clean target, make should not perform the dependency file
generation triggered by include.
这个提交包含在:
Lynn Lin 2010-07-15 14:38:06 +08:00 提交者 Lars Hjemli
父节点 6821d8ea4a
当前提交 ab61029201

查看文件

@ -139,7 +139,9 @@ cgit: $(OBJECTS) libgit
cgit.o: VERSION
-include $(OBJECTS:.o=.d)
ifneq "$(MAKECMDGOALS)" "clean"
-include $(OBJECTS:.o=.d)
endif
libgit:
$(QUIET_SUBDIR0)git $(QUIET_SUBDIR1) NO_CURL=1 $(GIT_OPTIONS) libgit.a