CXX = g++ CXXFLAGS = -Wall -O3 -pthread -static # g++ GBUDBTool/main.cpp SNFMulti/GBUdb.cpp CodeDweller/threading.cpp -pthread -static -o gbudbtool gbudbtool: gbudbtool.o GBUdb.o threading.o $(CXX) $(CXXFLAGS) gbudbtool.o GBUdb.o threading.o -o bin/gbudbtool gbudbtool.o: GBUDBTool/main.cpp SNFMulti/GBUdb.hpp CodeDweller/faults.hpp $(CXX) $(CXXFLAGS) -c GBUDBTool/main.cpp -o gbudbtool.o GBUdb.o: SNFMulti/GBUdb.cpp SNFMulti/GBUdb.cpp $(CXX) $(CXXFLAGS) -c SNFMulti/GBUdb.cpp threading.o: CodeDweller/threading.cpp CodeDweller/threading.hpp $(CXX) $(CXXFLAGS) -c CodeDweller/threading.cpp clean: rm *.o bin/*