1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-15 17:30:06 +00:00

fix problem with copy command in cmd.exe

This commit is contained in:
Bob Andrews 2022-11-11 20:54:38 +01:00
parent a09053ce0b
commit ebb33ee8b4

View File

@ -11,14 +11,14 @@ ifdef CMD_EXE
NULLDEV = nul:
MKDIR = mkdir $(subst /,\,$1)
RMDIR = -rmdir /s /q $(subst /,\,$1)
CP=copy
COPY = copy $(subst /,\,$1) $(subst /,\,$2)
else
S = /
EXE =
NULLDEV = /dev/null
MKDIR = mkdir -p $1
RMDIR = $(RM) -r $1
CP=cp
COPY = cp $1 $2
endif
ifdef QUIET
@ -78,7 +78,7 @@ $(ISEQUAL): ../isequal.c | $(WORKDIR)
$(WORKDIR)/%.cref: %.cref | $(WORKDIR)
$(if $(QUIET),echo ref/$*.cref)
$(CP) $*.cref $@
$(call COPY,$*.cref,$@)
$(WORKDIR)/%.ref: %.c | $(WORKDIR)
$(if $(QUIET),echo ref/$*.host)