projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f090eec
)
Fixed path separator issue for people using cmd instead of sh
author
Phillip Susi
<phreak@iag.net>
Sun, 3 Mar 2002 17:52:01 +0000
(17:52 +0000)
committer
Phillip Susi
<phreak@iag.net>
Sun, 3 Mar 2002 17:52:01 +0000
(17:52 +0000)
svn path=/trunk/; revision=2665
reactos/tools/depend.mk
patch
|
blob
|
history
diff --git
a/reactos/tools/depend.mk
b/reactos/tools/depend.mk
index
99a44d5
..
c05ecea
100644
(file)
--- a/
reactos/tools/depend.mk
+++ b/
reactos/tools/depend.mk
@@
-10,8
+10,11
@@
ifneq ($(MAKECMDGOALS),clean)
include $(DEP_FILES)
endif
-
+ifeq ($(SEP),\)
+DEPENDS_PATH := $(subst /,\,$(PATH_TO_TOP))\tools
+else
DEPENDS_PATH := $(PATH_TO_TOP)/tools
+endif
.%.d: %.c $(PATH_TO_TOP)/tools/depends$(EXE_POSTFIX)
$(CC) $(CFLAGS) -M $< | $(DEPENDS_PATH)$(SEP)depends$(EXE_POSTFIX) $(@D) $@