Only remove old files if they exist. [Maing32].
Notified by Michael Gerdau <mgd@technosis.de>
This commit is contained in:
parent
eb3d68c454
commit
aa5ae4841e
@ -85,7 +85,7 @@ sub do_lib_rule
|
|||||||
($Name=$name) =~ tr/a-z/A-Z/;
|
($Name=$name) =~ tr/a-z/A-Z/;
|
||||||
|
|
||||||
$ret.="$target: \$(${Name}OBJ)\n";
|
$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\$(MKLIB) $target \$(${Name}OBJ)\n";
|
||||||
$ret.="\t\$(RANLIB) $target\n\n";
|
$ret.="\t\$(RANLIB) $target\n\n";
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user