You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

makefile 622B

1234567891011121314151617181920
  1. CXX = g++
  2. CXXFLAGS = -Wall -O3 -pthread -static
  3. # g++ GBUDBTool/main.cpp SNFMulti/GBUdb.cpp CodeDweller/threading.cpp -pthread -static -o gbudbtool
  4. gbudbtool: gbudbtool.o GBUdb.o threading.o
  5. $(CXX) $(CXXFLAGS) gbudbtool.o GBUdb.o threading.o -o bin/gbudbtool
  6. gbudbtool.o: GBUDBTool/main.cpp SNFMulti/GBUdb.hpp CodeDweller/faults.hpp
  7. $(CXX) $(CXXFLAGS) -c GBUDBTool/main.cpp -o gbudbtool.o
  8. GBUdb.o: SNFMulti/GBUdb.cpp SNFMulti/GBUdb.cpp
  9. $(CXX) $(CXXFLAGS) -c SNFMulti/GBUdb.cpp
  10. threading.o: CodeDweller/threading.cpp CodeDweller/threading.hpp
  11. $(CXX) $(CXXFLAGS) -c CodeDweller/threading.cpp
  12. clean:
  13. rm *.o bin/*