From 7d52e55457eb8e888c3441a5b1de328238a7d9fb Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Mon, 23 May 2016 09:36:02 +0200 Subject: [PATCH] Windows: shut DEL up Reviewed-by: Matt Caswell --- Configurations/windows-makefile.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Configurations/windows-makefile.tmpl b/Configurations/windows-makefile.tmpl index 3f92f1400e..258421d4f3 100644 --- a/Configurations/windows-makefile.tmpl +++ b/Configurations/windows-makefile.tmpl @@ -394,8 +394,8 @@ $target: $deps $ordinalsfile $mkdef_pl /implib:\$@ \$(LDOUTFLAG)$shlib$shlibext /def:$shlib.def @<< || (DEL /Q \$(\@B).* $shlib.* && EXIT 1) $objs $shlib.res$linklibs \$(EX_LIBS) << - DEL /Q /F apps\\$shlib$shlibext - DEL /Q /F test\\$shlib$shlibext + IF EXIST apps\\$shlib$shlibext DEL /Q /F apps\\$shlib$shlibext + IF EXIST test\\$shlib$shlibext DEL /Q /F test\\$shlib$shlibext COPY $shlib$shlibext apps COPY $shlib$shlibext test EOF