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

workaround for cmd.exe rmdir

This commit is contained in:
mrdudz 2015-07-10 20:04:31 +02:00
parent ad97b1b08e
commit 1380c68cf3

View File

@ -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