mirror of
https://github.com/cc65/cc65.git
synced 2025-01-14 16:33:00 +00:00
workaround for cmd.exe rmdir
This commit is contained in:
parent
ad97b1b08e
commit
1380c68cf3
@ -13,7 +13,8 @@ ifdef CMD_EXE
|
||||
EXE := .exe
|
||||
DEL = del /f $(subst /,\,$1)
|
||||
MKDIR = mkdir $(subst /,\,$1)
|
||||
RMDIR = rmdir /s /q $(subst /,\,$1)
|
||||
DIRLIST = $(strip $(foreach dir,$1,$(wildcard $(dir))))
|
||||
RMDIR = $(if $(DIRLIST),rmdir /s /q $(subst /,\,$(DIRLIST)))
|
||||
else
|
||||
EXE :=
|
||||
DEL = $(RM) $1
|
||||
|
Loading…
x
Reference in New Issue
Block a user