ZeroTierOne/tcp-proxy/Makefile

10 lines
310 B
Makefile
Raw Normal View History

2022-12-05 23:33:01 +00:00
CXX=$(shell which clang++ g++ c++ 2>/dev/null | head -n 1)
INCLUDES?=-I../ext/prometheus-cpp-lite-1.0/core/include -I../ext/prometheus-cpp-lite-1.0/simpleapi/include
2022-12-05 23:33:01 +00:00
all:
$(CXX) -O3 -fno-rtti $(INCLUDES) -std=c++11 -frtti -o tcp-proxy tcp-proxy.cpp ../node/Metrics.cpp
2022-12-05 23:33:01 +00:00
clean:
rm -f *.o tcp-proxy *.dSYM