1
0
mirror of https://github.com/alliedmodders/metamod-source.git synced 2024-12-04 16:24:16 +01:00
HLMetaModOfficial/sourcehook/generate/shworker/Makefile
Pavol Marko e7f62bcc60 Fixed linux/gcc/amd64
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40201
2006-05-14 19:07:01 +00:00

16 lines
258 B
Makefile

default: shworker
bin:
mkdir bin
fd_hopter.o: fd_hopter.cpp bin
gcc -fPIC -O2 -o bin/$@ -c $<
main.o: shworker.cpp bin
gcc -fPIC -O2 -o bin/$@ -c $<
shworker: fd_hopter.o main.o bin
gcc -ldl -lstdc++ bin/fd_hopter.o bin/main.o -o bin/shworker.bin