Only remove old files if they exist. [Maing32].
Notified by Michael Gerdau <mgd@technosis.de>
This commit is contained in:
parent
00dc2d7551
commit
4e6480faf8
1 changed files with 1 additions and 1 deletions
|
@ -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";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue