mirror of
https://github.com/daemon32/tickrate_enabler.git
synced 2025-12-07 10:28:31 +00: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
|