Only remove old files if they exist. [Maing32].
authorRichard Levitte <levitte@openssl.org>
Thu, 26 Jun 2003 11:58:02 +0000 (11:58 +0000)
committerRichard Levitte <levitte@openssl.org>
Thu, 26 Jun 2003 11:58:02 +0000 (11:58 +0000)
Notified by Michael Gerdau <mgd@technosis.de>

util/pl/Mingw32.pl

index d0472df..b76b7af 100644 (file)
@@ -85,7 +85,7 @@ sub do_lib_rule
        ($Name=$name) =~ tr/a-z/A-Z/;
 
        $ret.="$target: \$(${Name}OBJ)\n";
-       $ret.="\t\$(RM) $target\n";
+       $ret.="\tif exist $target \$(RM) $target\n";
        $ret.="\t\$(MKLIB) $target \$(${Name}OBJ)\n";
        $ret.="\t\$(RANLIB) $target\n\n";
        }