New makefiles

This commit is contained in:
David Anderson
2004-08-24 05:50:59 +00:00
parent f5fc9d026f
commit 5464977fb7
9 changed files with 27 additions and 27 deletions

View File

@ -45,7 +45,7 @@ while ($cmd = shift)
}
}
$gcc = `g++ --version`;
$gcc = `gcc --version`;
if ($gcc =~ /2\.9/)
{
$OPT{"opt"} .= " -malign-loops=2 -malign-jumps=2 -malign-functions=2";
@ -139,7 +139,7 @@ for ($i=0; $i<=$#CPP_SOURCE_FILES; $i++)
$ofile = $file;
$ofile =~ s/\.cpp/\.o/;
$ofile = "$outdir/$ofile";
$gcc = "g++ $cflags -Dstrcmpi=strcasecmp -fPIC $inc -c $file -o $ofile";
$gcc = "gcc $cflags -Dstrcmpi=strcasecmp -fPIC $inc -c $file -o $ofile";
if (-e $ofile)
{
$file_time = (stat($file))[9];
@ -177,6 +177,6 @@ for ($i=0; $i<=$#CPP_SOURCE_FILES; $i++)
}
}
$gcc = "g++ $cflags -shared -ldl -lm @LINK -o $outdir/$bin";
$gcc = "gcc $cflags -shared -ldl -lm @LINK -o $outdir/$bin";
print "$gcc\n";
`$gcc`;