Quote:
Originally Posted by keygens
Hello guys. I need some help for compilation of extensions. I have flashtools extension source code, and i want to compile it for other engine, for l4d2 (for example). I have been installed ubuntu, gcc, and ide code::blocks. Also sourcemod-central and hl2sdk-l4d2. Well, what i need to do now? I mean, i dont understand, how to setting code::blocks for compile? Someone compile by code:blocks and can help me with settings? How alliedmodders always compile extensions for linux? Thanks in advance
|
1. Open Makefile in your favourite text editor (
borrow one if missing it).
2. Set the pathways to your hl2sdk, metamod & sourcemod etc.
Example:
I replace
Code:
HL2SDK_CSGO = ../../hl2sdk-csgo
with
Code:
HL2SDK_CSGO = /home/malak/sdks/hl2sdk-csgo
3. Just below the pathways you set, you need to add this:
Replace csgo with your engine of choice.
4. In your terminal CD the directory containing your Makfile then type/enter this:
5. Compiled bin should be in the root of your directory.