Still having problems with auto-depends on when running building Windows.
[reactos.git] / reactos / tools / depend.mk
index c05ecea..f259929 100644 (file)
@@ -2,7 +2,7 @@
 # Define $DEP_OBJECTS before this file is included
 # $DEP_OBJECTS contain a list of object files that are checked for dependancies
 
-DEP_FILTERED := $(filter-out ex/napi.% nt/zw.%, $(DEP_OBJECTS:.o=.d))
+DEP_FILTERED := $(filter-out $(DEP_EXCLUDE_FILTER), $(DEP_OBJECTS:.o=.d))
 DEP_FILES := $(join $(dir $(DEP_FILTERED)), $(addprefix ., $(notdir $(DEP_FILTERED))))
 
 
@@ -11,7 +11,7 @@ include $(DEP_FILES)
 endif
 
 ifeq ($(SEP),\)
-DEPENDS_PATH := $(subst /,\,$(PATH_TO_TOP))\tools
+DEPENDS_PATH := $(subst /,\,$(PATH_TO_TOP))\tools\
 else
 DEPENDS_PATH := $(PATH_TO_TOP)/tools
 endif