mirror of
https://github.com/alliedmodders/metamod-source.git
synced 2024-12-04 16:24:16 +01:00
e7f62bcc60
--HG-- extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40201
16 lines
258 B
Makefile
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
|
|
|
|
|