diff options
-rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -139,7 +139,9 @@ cgit: $(OBJECTS) libgit | |||
139 | 139 | ||
140 | cgit.o: VERSION | 140 | cgit.o: VERSION |
141 | 141 | ||
142 | -include $(OBJECTS:.o=.d) | 142 | ifneq "$(MAKECMDGOALS)" "clean" |
143 | -include $(OBJECTS:.o=.d) | ||
144 | endif | ||
143 | 145 | ||
144 | libgit: | 146 | libgit: |
145 | $(QUIET_SUBDIR0)git $(QUIET_SUBDIR1) NO_CURL=1 $(GIT_OPTIONS) libgit.a | 147 | $(QUIET_SUBDIR0)git $(QUIET_SUBDIR1) NO_CURL=1 $(GIT_OPTIONS) libgit.a |