mirror of
https://git.zx2c4.com/cgit
synced 2024-11-22 00:18:41 +00:00
Makefile: do not include dependency-file on make clean
When envoking clean target, make should not perform the dependency file generation triggered by include.
This commit is contained in:
parent
6821d8ea4a
commit
ab61029201
4
Makefile
4
Makefile
@ -139,7 +139,9 @@ cgit: $(OBJECTS) libgit
|
|||||||
|
|
||||||
cgit.o: VERSION
|
cgit.o: VERSION
|
||||||
|
|
||||||
-include $(OBJECTS:.o=.d)
|
ifneq "$(MAKECMDGOALS)" "clean"
|
||||||
|
-include $(OBJECTS:.o=.d)
|
||||||
|
endif
|
||||||
|
|
||||||
libgit:
|
libgit:
|
||||||
$(QUIET_SUBDIR0)git $(QUIET_SUBDIR1) NO_CURL=1 $(GIT_OPTIONS) libgit.a
|
$(QUIET_SUBDIR0)git $(QUIET_SUBDIR1) NO_CURL=1 $(GIT_OPTIONS) libgit.a
|
||||||
|
Loading…
Reference in New Issue
Block a user