core/sourcehook/generate/shworker/Makefile
author Scott Ehlert <ds@alliedmods.net>
Thu Dec 10 00:59:50 2009 -0600 (2009-12-10)
changeset 689 4065ba5e9155
parent 684 8015336442cb
permissions -rw-r--r--
Rewrote user message caching code to always use IServerGameDLL::GetUserMessageInfo (bug 4117, r=dvander).

Games where the above function can crash are handled by detouring tier0's Error() function and jumping back to our own code. So in theory this should work on all games now.
     1 CPP = gcc
     2 
     3 default: shworker
     4 
     5 bin: 
     6 	mkdir bin
     7 
     8 fd_hopter.o: fd_hopter.cpp bin
     9 	$(CPP) -fPIC -O2 -o bin/$@ -c $<
    10 
    11 main.o: shworker.cpp bin
    12 	$(CPP) -fPIC -O2 -o bin/$@ -c $<
    13 
    14 shworker: fd_hopter.o main.o bin
    15 	$(CPP) -ldl -lstdc++ bin/fd_hopter.o bin/main.o -o bin/shworker.bin