aboutsummaryrefslogtreecommitdiffhomepage
path: root/win32/makefile
diff options
context:
space:
mode:
authorTobias Kühne <unknown>2018-02-22 08:13:37 +1100
committerTobias Kühne <unknown>2018-02-22 08:13:37 +1100
commit62eda0dd434cae09f22f3cdf6988fc77b5c537e6 (patch)
tree5e60358c0f2b392fe07793a0ac4c9c6c4e84f094 /win32/makefile
parentd7aa990d9352a030615b7695c34f315217deb8c5 (diff)
downloadscintilla-mirror-62eda0dd434cae09f22f3cdf6988fc77b5c537e6.tar.gz
Bug [#1993]. Fix building on Mingw/MSYS to perform file copies and deletions.
Diffstat (limited to 'win32/makefile')
-rw-r--r--win32/makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/makefile b/win32/makefile
index 894026e9a..9849ebf89 100644
--- a/win32/makefile
+++ b/win32/makefile
@@ -18,7 +18,7 @@ endif
.SUFFIXES: .cxx
ifeq ($(OS),Windows_NT)
-DEL = del /q
+DEL = $(if $(wildcard $(dir $(SHELL))rm.exe), $(dir $(SHELL))rm.exe -f, del /q)
else
DEL = rm -f
endif