Functional Linux Makefile
1 Attachment(s)
Requirements:
I have set this Makefile up by default so you can use a folder structure similar to the following Folder with HL2SDK source files /usr/src/half-life/hl2sdk Folder with HL2bin files /usr/src/half-life/hl2sdk/valve/hl2bin/bin Folder with this Makefile and your plugin source code /usr/src/half-life/myplugin (can be any folder) Please make sure you look at all the developer options at the top and change them if necesary before posting questions about missing file errors. Good luck and let me know if you have any problems. |
GJ :D
|
Awesome JTP
|
Updated makefile to have more include folders, some people may be using more than just the basic includes.
|
thanks man
|
uh ... i tried this makefile and it worked nice, just one strange thing ... a plugin i compiled with the makefiles shipped with the source sdk was about 250k size, but after compiling it with this makefile it was 1mb!
any idea where that came from? |
Same for me! Compiling Xaphans code results in a 3MB file.
|
I don't know how anyone can get the stock makefile to even work.... it doesn't even include all the paths needed. I don't know how its getting to be 3Mb either, might be something thats getting linked in from your system thats large. The SAP plugin is only about 148K compiled with my Makefile. Basically this Makefile is the same asd the stock one but more paths are included (which should not effect size). I also did a little trick with symlinks to get the hl2 bin files to link properly.
|
Is there another way to get the .so (tier0, etc.) files necessary other than installing an entire srcds setup?
|
Ok I'm sure this is just user error, but I get so far then I get this error message:
Quote:
Quote:
|
All times are GMT -4. The time now is 19:50. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.