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:
David Anderson
2004-08-22 12:40:24 +00:00
parent c392f3cbbc
commit d966983354
37 changed files with 267 additions and 54 deletions

View File

@ -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,11 +98,11 @@ if ($OPTIONS{"amd64"})
}
}
unlink("$outdir/$bin");
if ($OPTIONS{"clean"})
{
`rm $outdir/*.o`;
`rm $outdir/sdk/*.o`;
`rm $outdir/$bin`;
die("Project cleaned.\n");
}
@ -178,4 +178,5 @@ for ($i=0; $i<=$#CPP_SOURCE_FILES; $i++)
}
$gcc = "g++ $cflags -shared -lstdc++ -ldl -lm @LINK -o $outdir/$bin";
print "$gcc\n";
`$gcc`;

View File

@ -51,4 +51,5 @@ enum
MetaFunc_CallGameEntity // bool (plid_t plid, const char *entStr,entvars_t *pev);
};
#endif //_INCLUDE_DLLFUNC_H
#endif //_INCLUDE_DLLFUNC_H

View File

@ -80,4 +80,5 @@ enum {
EngFunc_SetClientKeyValue // void ) (int clientIndex, char *infobuffer, char *key, char *value);
};
#endif //_ENGFUNC_INCLUDE_H
#endif //_ENGFUNC_INCLUDE_H

View File

@ -38,4 +38,5 @@ extern enginefuncs_t *g_pengfuncsTable;
extern enginefuncs_t *g_pengfuncsTable_Post;
#endif //_FAKEMETA_INCLUDE_H
#endif //_FAKEMETA_INCLUDE_H

View File

@ -161,4 +161,5 @@ extern const char *mlStringResult;
extern int lastFmRes;
extern int retType;
#endif //_INCLUDE_FORWARD_H
#endif //_INCLUDE_FORWARD_H

View File

@ -157,4 +157,5 @@ enum pev_pointers
pev_vecarray_end
};
#endif //_INCLUDE_PEV_H
#endif //_INCLUDE_PEV_H

View File

@ -459,4 +459,5 @@
#endif // USE_METAMOD
#endif // __MODULECONFIG_H__
#endif // __MODULECONFIG_H__