Fixed makefiles for 64bit error, clean error, and output error
ADDED NEWLINES!! OMG Corrected some AMD64 casts on ns_amxx
This commit is contained in:
@ -148,4 +148,5 @@ public:
|
||||
void exec(int p1,int p2);
|
||||
};
|
||||
|
||||
#endif // CMISC_H
|
||||
#endif // CMISC_H
|
||||
|
||||
|
@ -110,4 +110,5 @@ public:
|
||||
};
|
||||
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
@ -72,7 +72,7 @@ if ($OPTIONS{"debug"})
|
||||
|
||||
if ($OPTIONS{"amd64"})
|
||||
{
|
||||
$cflags .= "-m64 -DSMALL_CELLSIZE=64 $cflags";
|
||||
$cflags .= " -m64 -DHAVE_I64 -DSMALL_CELL_SIZE=64 $cflags";
|
||||
}
|
||||
|
||||
if ($OPTIONS{"debug"})
|
||||
@ -98,10 +98,10 @@ if ($OPTIONS{"amd64"})
|
||||
}
|
||||
}
|
||||
|
||||
unlink("$outdir/$bin");
|
||||
if ($OPTIONS{"clean"})
|
||||
{
|
||||
`rm $outdir/*.o`;
|
||||
`rm $outdir/$bin`;
|
||||
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";
|
||||
print "$gcc\n";
|
||||
`$gcc`;
|
||||
|
@ -459,4 +459,5 @@
|
||||
|
||||
#endif // USE_METAMOD
|
||||
|
||||
#endif // __MODULECONFIG_H__
|
||||
#endif // __MODULECONFIG_H__
|
||||
|
||||
|
Reference in New Issue
Block a user