2024-10-21 21:21:37 -04:00
|
|
|
CXX = g++ -std=c++23 -O3 -I indicators/include
|
2024-10-21 12:22:35 -04:00
|
|
|
|
|
|
|
all: vxorg tree_test
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm vxorg tree_test *.o
|
|
|
|
|
2024-10-22 00:49:49 -04:00
|
|
|
vxorg: vxorg.o vxheaven_parse.o threadpool.o
|
2024-10-21 12:22:35 -04:00
|
|
|
$(CXX) $^ -o $@
|
|
|
|
|
|
|
|
tree_test: tree_test.o
|
|
|
|
$(CXX) $^ -o $@
|
|
|
|
|
|
|
|
%.o: %.cpp
|
2024-10-22 00:49:49 -04:00
|
|
|
$(CXX) -c $< -o $@
|
|
|
|
|
|
|
|
|
|
|
|
# dep rules
|
|
|
|
# I feel like it's 1970 again
|
|
|
|
tree_test.o: tree.hpp
|
|
|
|
vxorg.o: tree.hpp vxheaven_parse.hpp threadpool.hpp
|
|
|
|
vxheaven_parse.o: tree.hpp vxheaven_parse.hpp
|