Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

makefile 1.0KB

1234567891011121314151617181920212223242526272829303132
  1. CXX = g++
  2. CXXFLAGS = -Wall -O3
  3. target: main.o networking.o timing.o threading.o configuration.o snf_xci.o main.o
  4. $(CXX) $(CXXFLAGS) main.o networking.o timing.o threading.o configuration.o snf_xci.o -o bin/SNFClient -pthread
  5. main.o: SNFClient/main.cpp \
  6. CodeDweller/timing.hpp \
  7. CodeDweller/networking.hpp \
  8. CodeDweller/threading.hpp \
  9. SNFMulti/snf_xci.hpp
  10. $(CXX) $(CXXFLAGS) -c SNFClient/main.cpp
  11. networking.o: CodeDweller/networking.cpp CodeDweller/networking.hpp
  12. $(CXX) $(CXXFLAGS) -c CodeDweller/networking.cpp
  13. timing.o: CodeDweller/timing.cpp CodeDweller/timing.hpp
  14. $(CXX) $(CXXFLAGS) -c CodeDweller/timing.cpp
  15. threading.o: CodeDweller/threading.cpp CodeDweller/threading.hpp
  16. $(CXX) $(CXXFLAGS) -c CodeDweller/threading.cpp
  17. configuration.o: CodeDweller/configuration.cpp CodeDweller/configuration.hpp
  18. $(CXX) $(CXXFLAGS) -c CodeDweller/configuration.cpp
  19. snf_xci.o: SNFMulti/snf_xci.cpp SNFMulti/snf_xci.hpp CodeDweller/configuration.hpp
  20. $(CXX) $(CXXFLAGS) -c SNFMulti/snf_xci.cpp
  21. clean:
  22. rm *.o bin/*