Avoid including dep rules if the previous makefile had an empty dep set,
because -include can't tolerate zero include files.
Modified: trunk/reactos/tools/depend.mk
_____
Modified: trunk/reactos/tools/depend.mk
--- trunk/reactos/tools/depend.mk 2004-12-31 19:38:40 UTC (rev
12659)
+++ trunk/reactos/tools/depend.mk 2004-12-31 19:38:47 UTC (rev
12660)
@@ -22,8 +22,10 @@
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