From 438aa3123b6768ba348535ebffd0fbcbd2c35521 Mon Sep 17 00:00:00 2001 From: Art Yerkes Date: Fri, 31 Dec 2004 19:38:47 +0000 Subject: [PATCH] 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 --- reactos/tools/depend.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/reactos/tools/depend.mk b/reactos/tools/depend.mk index 56c9201926b..99b5dc90825 100644 --- a/reactos/tools/depend.mk +++ b/reactos/tools/depend.mk @@ -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