1234567891011121314151617181920 |
- 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 SNFMulti/GBUdb.inline.hpp CodeDweller/faults.hpp
- $(CXX) $(CXXFLAGS) -c GBUDBTool/main.cpp -o gbudbtool.o
-
- GBUdb.o: SNFMulti/GBUdb.cpp SNFMulti/GBUdb.inline.hpp 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/*
|