Avoid including dep rules if the previous makefile had an empty dep set,

because -include can't tolerate zero include files.

svn path=/trunk/; revision=12660
This commit is contained in:
Art Yerkes 2004-12-31 19:38:47 +00:00
parent 9274918700
commit 438aa3123b

View file

@ -22,8 +22,10 @@ endif
DEP_FILES := $(join $(dir $(DEP_FILTERED)), $(addprefix ., $(notdir $(DEP_FILTERED))))
ifneq ($(MAKECMDGOALS),clean)
ifneq ($(DEP_FILES),)
-include $(DEP_FILES)
endif
endif
ifeq ($(SEP),\)
DEPENDS_PATH := $(subst /,\,$(PATH_TO_TOP))\tools