mirror of
https://github.com/alliedmodders/metamod-source.git
synced 2024-12-13 01:08:51 +01:00
16 lines
276 B
Makefile
16 lines
276 B
Makefile
CPP = gcc
|
|
|
|
default: shworker
|
|
|
|
bin:
|
|
mkdir bin
|
|
|
|
fd_hopter.o: fd_hopter.cpp bin
|
|
$(CPP) -fPIC -O2 -o bin/$@ -c $<
|
|
|
|
main.o: shworker.cpp bin
|
|
$(CPP) -fPIC -O2 -o bin/$@ -c $<
|
|
|
|
shworker: fd_hopter.o main.o bin
|
|
$(CPP) -ldl -lstdc++ bin/fd_hopter.o bin/main.o -o bin/shworker.bin
|