Another attempt at copying with timestamp update on Windows.

The weird plus syntax copied files to the current directory.
This commit is contained in:
ccd0 2016-04-18 17:36:50 -07:00
parent 7e0ec12c49
commit 70d0dca705

View File

@ -2,8 +2,8 @@ ifdef ComSpec
BIN := $(subst /,\,node_modules/.bin/)
RMDIR := -rmdir /s /q
RM := -del
CP = copy /b /y $(subst /,\,$<)+ $(subst /,\,$@)
CP2 = copy /b /y $(subst /,\,$1)+ $(subst /,\,$2)
CP = type $(subst /,\,$<) > $(subst /,\,$@)
CP2 = type $(subst /,\,$1) > $(subst /,\,$2)
MKDIR = -mkdir $(subst /,\,$@)
ESC_DOLLAR = $$
else