Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

makefile 4.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  1. CXX = g++
  2. CXXFLAGS = -Wall -O3 -pthread
  3. target: main.o \
  4. base64codec.o \
  5. configuration.o \
  6. mangler.o \
  7. networking.o \
  8. timing.o \
  9. threading.o \
  10. snf_HeaderFinder.o \
  11. snf_xci.o \
  12. snf_sync.o \
  13. snf_saccades.o \
  14. snf_engine.o \
  15. SNFMulti.o \
  16. GBUdb.o \
  17. FilterChain.o \
  18. snfCFGmgr.o \
  19. snfGBUdbmgr.o \
  20. snfLOGmgr.o \
  21. snfNETmgr.o \
  22. snfXCImgr.o
  23. $(CXX) $(CXXFLAGS) main.o \
  24. base64codec.o \
  25. configuration.o \
  26. mangler.o \
  27. networking.o \
  28. timing.o \
  29. threading.o \
  30. snf_HeaderFinder.o \
  31. snf_xci.o \
  32. snf_sync.o \
  33. snf_saccades.o \
  34. snf_engine.o \
  35. SNFMulti.o \
  36. GBUdb.o \
  37. FilterChain.o \
  38. snfCFGmgr.o \
  39. snfGBUdbmgr.o \
  40. snfLOGmgr.o \
  41. snfNETmgr.o \
  42. snfXCImgr.o \
  43. -o bin/SNFServer
  44. static: main.o networking.o timing.o threading.o configuration.o snf_xci.o main.o
  45. $(CXX) $(CXXFLAGS) -static main.o networking.o timing.o threading.o configuration.o snf_xci.o -o bin/SNFServer
  46. main.o: SNFServer/main.cpp \
  47. CodeDweller/timing.hpp \
  48. CodeDweller/networking.hpp \
  49. CodeDweller/networking.inline.hpp \
  50. CodeDweller/threading.hpp \
  51. SNFMulti/snf_xci.hpp
  52. $(CXX) $(CXXFLAGS) -c SNFServer/main.cpp
  53. # CodeDweller...
  54. base64codec.o: CodeDweller/base64codec.cpp CodeDweller/base64codec.hpp
  55. $(CXX) $(CXXFLAGS) -c CodeDweller/base64codec.cpp
  56. configuration.o: CodeDweller/configuration.cpp CodeDweller/configuration.hpp
  57. $(CXX) $(CXXFLAGS) -c CodeDweller/configuration.cpp
  58. mangler.o: CodeDweller/mangler.cpp CodeDweller/mangler.hpp
  59. $(CXX) $(CXXFLAGS) -c CodeDweller/mangler.cpp
  60. networking.o: CodeDweller/networking.cpp CodeDweller/networking.hpp CodeDweller/networking.inline.hpp
  61. $(CXX) $(CXXFLAGS) -c CodeDweller/networking.cpp
  62. timing.o: CodeDweller/timing.cpp CodeDweller/timing.hpp
  63. $(CXX) $(CXXFLAGS) -c CodeDweller/timing.cpp
  64. threading.o: CodeDweller/threading.cpp CodeDweller/threading.hpp
  65. $(CXX) $(CXXFLAGS) -c CodeDweller/threading.cpp
  66. # SNFMulti...
  67. SNFMulti.o: SNFMulti/SNFMulti.cpp \
  68. SNFMulti/SNFMulti.hpp \
  69. SNFMulti/GBUdb.hpp \
  70. SNFMulti/FilterChain.hpp \
  71. SNFMulti/snf_engine.hpp \
  72. SNFMulti/snf_match.h \
  73. SNFMulti/snfCFGmgr.hpp \
  74. SNFMulti/snfGBUdbmgr.hpp \
  75. SNFMulti/snfLOGmgr.hpp \
  76. SNFMulti/snfNETmgr.hpp \
  77. SNFMulti/snfXCImgr.hpp \
  78. SNFMulti/snf_saccades.hpp \
  79. CodeDweller/timing.hpp \
  80. CodeDweller/faults.hpp \
  81. CodeDweller/threading.hpp
  82. $(CXX) $(CXXFLAGS) -c SNFMulti/SNFMulti.cpp
  83. GBUdb.o: SNFMulti/GBUdb.cpp SNFMulti/GBUdb.hpp SNFMulti/GBUdb.inline.hpp
  84. $(CXX) $(CXXFLAGS) -c SNFMulti/GBUdb.cpp
  85. FilterChain.o: SNFMulti/FilterChain.cpp SNFMulti/FilterChain.hpp
  86. $(CXX) $(CXXFLAGS) -c SNFMulti/FilterChain.cpp
  87. snf_engine.o: SNFMulti/snf_engine.cpp SNFMulti/snf_engine.hpp
  88. $(CXX) $(CXXFLAGS) -c SNFMulti/snf_engine.cpp
  89. snfCFGmgr.o: SNFMulti/snfCFGmgr.cpp SNFMulti/snfCFGmgr.hpp SNFMulti/snfCFGmgr.inline.hpp SNFMulti/snf_HeaderFinder.hpp
  90. $(CXX) $(CXXFLAGS) -c SNFMulti/snfCFGmgr.cpp
  91. snf_HeaderFinder.o: SNFMulti/snf_HeaderFinder.cpp \
  92. SNFMulti/snf_HeaderFinder.hpp \
  93. SNFMulti/snf_HeaderFinder.inline.hpp \
  94. SNFMulti/snfLOGmgr.hpp \
  95. SNFMulti/snfCFGmgr.hpp
  96. $(CXX) $(CXXFLAGS) -c SNFMulti/snf_HeaderFinder.cpp
  97. snfGBUdbmgr.o: SNFMulti/snfGBUdbmgr.cpp SNFMulti/snfGBUdbmgr.hpp
  98. $(CXX) $(CXXFLAGS) -c SNFMulti/snfGBUdbmgr.cpp
  99. snfLOGmgr.o: SNFMulti/snfLOGmgr.cpp SNFMulti/snfLOGmgr.hpp SNFMulti/snfLOGmgr.inline.hpp SNFMulti/snf_match.h
  100. $(CXX) $(CXXFLAGS) -c SNFMulti/snfLOGmgr.cpp
  101. snfNETmgr.o: SNFMulti/snfNETmgr.cpp \
  102. SNFMulti/snfNETmgr.hpp \
  103. SNFMulti/snfCFGmgr.hpp \
  104. SNFMulti/snfLOGmgr.hpp \
  105. SNFMulti/snfGBUdbmgr.hpp \
  106. CodeDweller/networking.hpp \
  107. CodeDweller/timing.hpp \
  108. CodeDweller/threading.hpp \
  109. CodeDweller/mangler.hpp
  110. $(CXX) $(CXXFLAGS) -c SNFMulti/snfNETmgr.cpp
  111. snfXCImgr.o: SNFMulti/snfXCImgr.cpp SNFMulti/snfXCImgr.hpp SNFMulti/snf_xci.hpp
  112. $(CXX) $(CXXFLAGS) -c SNFMulti/snfXCImgr.cpp
  113. snf_xci.o: SNFMulti/snf_xci.cpp SNFMulti/snf_xci.hpp CodeDweller/configuration.hpp
  114. $(CXX) $(CXXFLAGS) -c SNFMulti/snf_xci.cpp
  115. snf_saccades.o: SNFMulti/snf_saccades.cpp SNFMulti/snf_saccades.hpp
  116. $(CXX) $(CXXFLAGS) -c SNFMulti/snf_saccades.cpp
  117. snf_sync.o: SNFMulti/snf_sync.cpp \
  118. SNFMulti/snf_sync.hpp \
  119. SNFMulti/GBUdb.hpp \
  120. CodeDweller/networking.hpp \
  121. CodeDweller/configuration.hpp
  122. $(CXX) $(CXXFLAGS) -c SNFMulti/snf_sync.cpp
  123. # Housekeeping...
  124. clean:
  125. rm *.o bin/* || true