mirror of
https://github.com/cc65/cc65.git
synced 2024-09-28 10:55:43 +00:00
fix problem with copy command in cmd.exe
This commit is contained in:
parent
a09053ce0b
commit
ebb33ee8b4
@ -11,14 +11,14 @@ ifdef CMD_EXE
|
|||||||
NULLDEV = nul:
|
NULLDEV = nul:
|
||||||
MKDIR = mkdir $(subst /,\,$1)
|
MKDIR = mkdir $(subst /,\,$1)
|
||||||
RMDIR = -rmdir /s /q $(subst /,\,$1)
|
RMDIR = -rmdir /s /q $(subst /,\,$1)
|
||||||
CP=copy
|
COPY = copy $(subst /,\,$1) $(subst /,\,$2)
|
||||||
else
|
else
|
||||||
S = /
|
S = /
|
||||||
EXE =
|
EXE =
|
||||||
NULLDEV = /dev/null
|
NULLDEV = /dev/null
|
||||||
MKDIR = mkdir -p $1
|
MKDIR = mkdir -p $1
|
||||||
RMDIR = $(RM) -r $1
|
RMDIR = $(RM) -r $1
|
||||||
CP=cp
|
COPY = cp $1 $2
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifdef QUIET
|
ifdef QUIET
|
||||||
@ -78,7 +78,7 @@ $(ISEQUAL): ../isequal.c | $(WORKDIR)
|
|||||||
|
|
||||||
$(WORKDIR)/%.cref: %.cref | $(WORKDIR)
|
$(WORKDIR)/%.cref: %.cref | $(WORKDIR)
|
||||||
$(if $(QUIET),echo ref/$*.cref)
|
$(if $(QUIET),echo ref/$*.cref)
|
||||||
$(CP) $*.cref $@
|
$(call COPY,$*.cref,$@)
|
||||||
|
|
||||||
$(WORKDIR)/%.ref: %.c | $(WORKDIR)
|
$(WORKDIR)/%.ref: %.c | $(WORKDIR)
|
||||||
$(if $(QUIET),echo ref/$*.host)
|
$(if $(QUIET),echo ref/$*.host)
|
||||||
|
Loading…
Reference in New Issue
Block a user