Requirements:
- glibc (package)
- glibc-devel (package)
- bin folder from linux source server
- hl2sdk source files
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.