mirror of
https://github.com/reactos/reactos.git
synced 2024-09-17 00:00:42 +00:00
Fixed path separator issue for people using cmd instead of sh
svn path=/trunk/; revision=2665
This commit is contained in:
parent
f090eec7df
commit
16c7c6fa94
|
@ -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) $@
|
||||
|
|
Loading…
Reference in a new issue