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:
@ -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`;
|
||||
|
@ -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
|
||||
|
||||
|
@ -80,4 +80,5 @@ enum {
|
||||
EngFunc_SetClientKeyValue // void ) (int clientIndex, char *infobuffer, char *key, char *value);
|
||||
};
|
||||
|
||||
#endif //_ENGFUNC_INCLUDE_H
|
||||
#endif //_ENGFUNC_INCLUDE_H
|
||||
|
||||
|
@ -38,4 +38,5 @@ extern enginefuncs_t *g_pengfuncsTable;
|
||||
extern enginefuncs_t *g_pengfuncsTable_Post;
|
||||
|
||||
|
||||
#endif //_FAKEMETA_INCLUDE_H
|
||||
#endif //_FAKEMETA_INCLUDE_H
|
||||
|
||||
|
@ -161,4 +161,5 @@ extern const char *mlStringResult;
|
||||
extern int lastFmRes;
|
||||
extern int retType;
|
||||
|
||||
#endif //_INCLUDE_FORWARD_H
|
||||
#endif //_INCLUDE_FORWARD_H
|
||||
|
||||
|
@ -157,4 +157,5 @@ enum pev_pointers
|
||||
pev_vecarray_end
|
||||
};
|
||||
|
||||
#endif //_INCLUDE_PEV_H
|
||||
#endif //_INCLUDE_PEV_H
|
||||
|
||||
|
@ -459,4 +459,5 @@
|
||||
|
||||
#endif // USE_METAMOD
|
||||
|
||||
#endif // __MODULECONFIG_H__
|
||||
#endif // __MODULECONFIG_H__
|
||||
|
||||
|
Reference in New Issue
Block a user