Only remove old files if they exist. [Maing32].

Notified by Michael Gerdau <mgd@technosis.de>
This commit is contained in:
Richard Levitte 2003-06-26 11:58:02 +00:00
parent eb3d68c454
commit aa5ae4841e

View 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";
}