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:04 +00:00
parent 00dc2d7551
commit 4e6480faf8

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