Windows: shut DEL up
authorRichard Levitte <levitte@openssl.org>
Mon, 23 May 2016 07:36:02 +0000 (09:36 +0200)
committerRichard Levitte <levitte@openssl.org>
Mon, 23 May 2016 07:36:02 +0000 (09:36 +0200)
Reviewed-by: Matt Caswell <matt@openssl.org>
Configurations/windows-makefile.tmpl

index 3f92f14..258421d 100644 (file)
@@ -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