how about now

This commit is contained in:
David Anderson 2004-08-22 12:44:29 +00:00
parent 4112c78c11
commit 628993f249

View File

@ -98,10 +98,10 @@ if ($OPTIONS{"amd64"})
} }
} }
unlink("$outdir/$bin");
if ($OPTIONS{"clean"}) if ($OPTIONS{"clean"})
{ {
`rm $outdir/*.o`; `rm $outdir/*.o`;
`rm $outdir/$bin`;
die("Project cleaned.\n"); die("Project cleaned.\n");
} }
@ -173,4 +173,5 @@ for ($i=0; $i<=$#CPP_SOURCE_FILES; $i++)
} }
$gcc = "g++ $cflags -shared -ldl -lm @LINK -o $outdir/$bin"; $gcc = "g++ $cflags -shared -ldl -lm @LINK -o $outdir/$bin";
print "$gcc\n";
`$gcc`; `$gcc`;