fix Makefile

This commit is contained in:
Jaco Kroon
2009-05-15 21:54:42 +02:00
parent 7a6e3b159c
commit eba8bbe5aa

View File

@@ -29,4 +29,15 @@ distclean : clean
rm -f .*.m rm -f .*.m
rm -f gdigi rm -f gdigi
NODEP_TARGETS := clean distclean
depinc := 1
ifneq (,$(filter $(NODEP_TARGETS),$(MAKECMDGOALS)))
depinc := 0
endif
ifneq (,$(fitler-out $(NODEP_TARGETS),$(MAKECMDGOALS)))
depinc := 1
endif
ifeq ($(depinc),1)
-include $(DEPFILES) -include $(DEPFILES)
endif