mirror of
https://github.com/cc65/cc65.git
synced 2025-04-08 19:38:55 +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:
|
||||
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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user