Avoid rebuilding dependency files when cleaning

Apparently make adds an implicit dependency on any included files.
This commit is contained in:
Joshua Root
2017-01-05 08:24:07 +11:00
parent 0311e0547a
commit 9373a4b0e6
+2
View File
@@ -64,5 +64,7 @@ install:: all
test::
ifeq (,$(findstring clean,$(MAKECMDGOALS)))
# Include dependency information
-include $(SRCS:%.c=%.d)
endif