[ros-diffs] [arty] 12660: Avoid including dep rules if the previous
makefile had an empty dep set,
arty at svn.reactos.com
arty at svn.reactos.com
Fri Dec 31 20:38:48 CET 2004
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20041231/4adc93d4/attachment.html
More information about the Ros-diffs
mailing list