選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

makefile 3.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. CXX = g++
  2. CXXFLAGS = -Wall -O3 -pthread
  3. target: main.o \
  4. networking.o \
  5. timing.o \
  6. threading.o \
  7. configuration.o \
  8. snf_xci.o \
  9. snf_sync.o \
  10. snf_saccades.o \
  11. snf_engine.o \
  12. SNFMulti.o \
  13. GBUdb.o \
  14. FilterChain.o \
  15. snfCFGmgr.o \
  16. snfLOGmgr.o \
  17. snfNETmgr.o \
  18. snfXCImgr.o
  19. $(CXX) $(CXXFLAGS) main.o networking.o timing.o threading.o configuration.o snf_xci.o -o bin/SNFServer
  20. static: main.o networking.o timing.o threading.o configuration.o snf_xci.o main.o
  21. $(CXX) $(CXXFLAGS) -static main.o networking.o timing.o threading.o configuration.o snf_xci.o -o bin/SNFServer
  22. main.o: SNFServer/main.cpp \
  23. CodeDweller/timing.hpp \
  24. CodeDweller/networking.hpp \
  25. CodeDweller/networking.inline.hpp \
  26. CodeDweller/threading.hpp \
  27. SNFMulti/snf_xci.hpp
  28. $(CXX) $(CXXFLAGS) -c SNFServer/main.cpp
  29. # CodeDweller...
  30. networking.o: CodeDweller/networking.cpp CodeDweller/networking.hpp CodeDweller/networking.inline.hpp
  31. $(CXX) $(CXXFLAGS) -c CodeDweller/networking.cpp
  32. timing.o: CodeDweller/timing.cpp CodeDweller/timing.hpp
  33. $(CXX) $(CXXFLAGS) -c CodeDweller/timing.cpp
  34. threading.o: CodeDweller/threading.cpp CodeDweller/threading.hpp
  35. $(CXX) $(CXXFLAGS) -c CodeDweller/threading.cpp
  36. configuration.o: CodeDweller/configuration.cpp CodeDweller/configuration.hpp
  37. $(CXX) $(CXXFLAGS) -c CodeDweller/configuration.cpp
  38. # SNFMulti...
  39. SNFMulti.o: SNFMulti/SNFMulti.cpp \
  40. SNFMulti/SNFMulti.hpp \
  41. SNFMulti/GBUdb.hpp \
  42. SNFMulti/FilterChain.hpp \
  43. SNFMulti/snf_engine.hpp \
  44. SNFMulti/snf_match.h \
  45. SNFMulti/snfCFGmgr.hpp \
  46. SNFMulti/snfGBUdbmgr.hpp \
  47. SNFMulti/snfLOGmgr.hpp \
  48. SNFMulti/snfNETmgr.hpp \
  49. SNFMulti/snfXCImgr.hpp \
  50. SNFMulti/snf_saccades.hpp \
  51. CodeDweller/timing.hpp \
  52. CodeDweller/faults.hpp \
  53. CodeDweller/threading.hpp
  54. $(CXX) $(CXXFLAGS) -c SNFMulti/SNFMulti.cpp
  55. GBUdb.o: SNFMulti/GBUdb.cpp SNFMulti/GBUdb.hpp SNFMulti/GBUdb.inline.hpp
  56. $(CXX) $(CXXFLAGS) -c SNFMulti/GBUdb.cpp
  57. FilterChain.o: SNFMulti/FilterChain.cpp SNFMulti/FilterChain.hpp
  58. $(CXX) $(CXXFLAGS) -c SNFMulti/FilterChain.cpp
  59. snf_engine.o: SNFMulti/snf_engine.cpp SNFMulti/snf_engine.hpp
  60. $(CXX) $(CXXFLAGS) -c SNFMulti/snf_engine.cpp
  61. snfCFGmgr.o: SNFMulti/snfCFGmgr.cpp SNFMulti/snfCFGmgr.hpp SNFMulti/snfCFGmgr.inline.hpp SNFMulti/snf_HeaderFinder.hpp
  62. $(CXX) $(CXXFLAGS) -c SNFMulti/snfCFGmgr.cpp
  63. snf_HeaderFinder.o: SNFMulti/snf_HeaderFinder.cpp \
  64. SNFMulti/snf_HeaderFinder.hpp \
  65. SNFMulti/snf_HeaderFinder.inline.hpp \
  66. SNFMulti/snfLOGmgr.hpp \
  67. SNFMulti/snfCFGmgr.hpp
  68. $(CXX) $(CXXFLAGS) -c SNFMulti/snf_HeaderFinder.cpp
  69. snfGBUdbmgr.o: SNFMulti/snfGBUdbmgr.cpp SNFMulti/snfGBUdbmgr.hpp
  70. $(CXX) $(CXXFLAGS) -c SNFMulti/snfGBUdbmgr.cpp
  71. snfLOGmgr.o: SNFMulti/snfLOGmgr.cpp SNFMulti/snfLOGmgr.hpp SNFMulti/snfLOGmgr.inline.hpp SNFMulti/snf_match.h
  72. $(CXX) $(CXXFLAGS) -c SNFMulti/snfLOGmgr.cpp
  73. snfNETmgr.o: SNFMulti/snfNETmgr.cpp SNFMulti/snfNETmgr.hpp
  74. $(CXX) $(CXXFLAGS) -c SNFMulti/snfNETmgr.cpp
  75. snfXCImgr.o: SNFMulti/snfXCImgr.cpp SNFMulti/snfXCImgr.hpp SNFMulti/snf_xci.hpp
  76. $(CXX) $(CXXFLAGS) -c SNFMulti/snfXCImgr.cpp
  77. snf_xci.o: SNFMulti/snf_xci.cpp SNFMulti/snf_xci.hpp CodeDweller/configuration.hpp
  78. $(CXX) $(CXXFLAGS) -c SNFMulti/snf_xci.cpp
  79. snf_saccades.o: SNFMulti/snf_saccades.cpp SNFMulti/snf_saccades.hpp
  80. $(CXX) $(CXXFLAGS) -c SNFMulti/snf_saccades.cpp
  81. snf_sync.o: SNFMulti/snf_sync.cpp \
  82. SNFMulti/snf_sync.hpp \
  83. SNFMulti/GBUdb.hpp \
  84. CodeDweller/networking.hpp \
  85. CodeDweller/configuration.hpp
  86. $(CXX) $(CXXFLAGS) -c SNFMulti/snf_sync.cpp
  87. # Housekeeping...
  88. clean:
  89. rm *.o bin/* || true