mirror of
https://github.com/alliedmodders/metamod-source.git
synced 2025-01-10 00:46:23 +01:00
2261ff4f9c
Fix sourcehook compilation warning. Co-authored-by: Kenzzer <kenzzer@users.noreply.github.com>
16 lines
278 B
Makefile
16 lines
278 B
Makefile
CPP = clang
|
|
|
|
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
|