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 4.6KB

4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192
  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) -o bin/SNFServer \
  24. main.o \
  25. base64codec.o \
  26. configuration.o \
  27. mangler.o \
  28. networking.o \
  29. timing.o \
  30. threading.o \
  31. snf_HeaderFinder.o \
  32. snf_xci.o \
  33. snf_sync.o \
  34. snf_saccades.o \
  35. snf_engine.o \
  36. SNFMulti.o \
  37. GBUdb.o \
  38. FilterChain.o \
  39. snfCFGmgr.o \
  40. snfGBUdbmgr.o \
  41. snfLOGmgr.o \
  42. snfNETmgr.o \
  43. snfXCImgr.o
  44. static: main.o \
  45. base64codec.o \
  46. configuration.o \
  47. mangler.o \
  48. networking.o \
  49. timing.o \
  50. threading.o \
  51. snf_HeaderFinder.o \
  52. snf_xci.o \
  53. snf_sync.o \
  54. snf_saccades.o \
  55. snf_engine.o \
  56. SNFMulti.o \
  57. GBUdb.o \
  58. FilterChain.o \
  59. snfCFGmgr.o \
  60. snfGBUdbmgr.o \
  61. snfLOGmgr.o \
  62. snfNETmgr.o \
  63. snfXCImgr.o
  64. $(CXX) $(CXXFLAGS) -static -o bin/SNFServer \
  65. main.o \
  66. base64codec.o \
  67. configuration.o \
  68. mangler.o \
  69. networking.o \
  70. timing.o \
  71. threading.o \
  72. snf_HeaderFinder.o \
  73. snf_xci.o \
  74. snf_sync.o \
  75. snf_saccades.o \
  76. snf_engine.o \
  77. SNFMulti.o \
  78. GBUdb.o \
  79. FilterChain.o \
  80. snfCFGmgr.o \
  81. snfGBUdbmgr.o \
  82. snfLOGmgr.o \
  83. snfNETmgr.o \
  84. snfXCImgr.o
  85. main.o: SNFServer/main.cpp \
  86. CodeDweller/timing.hpp \
  87. CodeDweller/networking.hpp \
  88. CodeDweller/networking.inline.hpp \
  89. CodeDweller/threading.hpp \
  90. SNFMulti/snf_xci.hpp
  91. $(CXX) $(CXXFLAGS) -c SNFServer/main.cpp
  92. # CodeDweller...
  93. base64codec.o: CodeDweller/base64codec.cpp CodeDweller/base64codec.hpp
  94. $(CXX) $(CXXFLAGS) -c CodeDweller/base64codec.cpp
  95. configuration.o: CodeDweller/configuration.cpp CodeDweller/configuration.hpp
  96. $(CXX) $(CXXFLAGS) -c CodeDweller/configuration.cpp
  97. mangler.o: CodeDweller/mangler.cpp CodeDweller/mangler.hpp
  98. $(CXX) $(CXXFLAGS) -c CodeDweller/mangler.cpp
  99. networking.o: CodeDweller/networking.cpp CodeDweller/networking.hpp CodeDweller/networking.inline.hpp
  100. $(CXX) $(CXXFLAGS) -c CodeDweller/networking.cpp
  101. timing.o: CodeDweller/timing.cpp CodeDweller/timing.hpp
  102. $(CXX) $(CXXFLAGS) -c CodeDweller/timing.cpp
  103. threading.o: CodeDweller/threading.cpp CodeDweller/threading.hpp
  104. $(CXX) $(CXXFLAGS) -c CodeDweller/threading.cpp
  105. # SNFMulti...
  106. SNFMulti.o: SNFMulti/SNFMulti.cpp \
  107. SNFMulti/SNFMulti.hpp \
  108. SNFMulti/GBUdb.hpp \
  109. SNFMulti/FilterChain.hpp \
  110. SNFMulti/snf_engine.hpp \
  111. SNFMulti/snf_match.h \
  112. SNFMulti/snfCFGmgr.hpp \
  113. SNFMulti/snfGBUdbmgr.hpp \
  114. SNFMulti/snfLOGmgr.hpp \
  115. SNFMulti/snfNETmgr.hpp \
  116. SNFMulti/snfXCImgr.hpp \
  117. SNFMulti/snf_saccades.hpp \
  118. CodeDweller/timing.hpp \
  119. CodeDweller/faults.hpp \
  120. CodeDweller/threading.hpp
  121. $(CXX) $(CXXFLAGS) -c SNFMulti/SNFMulti.cpp
  122. GBUdb.o: SNFMulti/GBUdb.cpp SNFMulti/GBUdb.hpp SNFMulti/GBUdb.inline.hpp
  123. $(CXX) $(CXXFLAGS) -c SNFMulti/GBUdb.cpp
  124. FilterChain.o: SNFMulti/FilterChain.cpp SNFMulti/FilterChain.hpp
  125. $(CXX) $(CXXFLAGS) -c SNFMulti/FilterChain.cpp
  126. snf_engine.o: SNFMulti/snf_engine.cpp SNFMulti/snf_engine.hpp
  127. $(CXX) $(CXXFLAGS) -c SNFMulti/snf_engine.cpp
  128. snfCFGmgr.o: SNFMulti/snfCFGmgr.cpp SNFMulti/snfCFGmgr.hpp SNFMulti/snfCFGmgr.inline.hpp SNFMulti/snf_HeaderFinder.hpp
  129. $(CXX) $(CXXFLAGS) -c SNFMulti/snfCFGmgr.cpp
  130. snf_HeaderFinder.o: SNFMulti/snf_HeaderFinder.cpp \
  131. SNFMulti/snf_HeaderFinder.hpp \
  132. SNFMulti/snf_HeaderFinder.inline.hpp \
  133. SNFMulti/snfLOGmgr.hpp \
  134. SNFMulti/snfCFGmgr.hpp
  135. $(CXX) $(CXXFLAGS) -c SNFMulti/snf_HeaderFinder.cpp
  136. snfGBUdbmgr.o: SNFMulti/snfGBUdbmgr.cpp SNFMulti/snfGBUdbmgr.hpp
  137. $(CXX) $(CXXFLAGS) -c SNFMulti/snfGBUdbmgr.cpp
  138. snfLOGmgr.o: SNFMulti/snfLOGmgr.cpp SNFMulti/snfLOGmgr.hpp SNFMulti/snfLOGmgr.inline.hpp SNFMulti/snf_match.h
  139. $(CXX) $(CXXFLAGS) -c SNFMulti/snfLOGmgr.cpp
  140. snfNETmgr.o: SNFMulti/snfNETmgr.cpp \
  141. SNFMulti/snfNETmgr.hpp \
  142. SNFMulti/snfCFGmgr.hpp \
  143. SNFMulti/snfLOGmgr.hpp \
  144. SNFMulti/snfGBUdbmgr.hpp \
  145. CodeDweller/networking.hpp \
  146. CodeDweller/timing.hpp \
  147. CodeDweller/threading.hpp \
  148. CodeDweller/mangler.hpp
  149. $(CXX) $(CXXFLAGS) -c SNFMulti/snfNETmgr.cpp
  150. snfXCImgr.o: SNFMulti/snfXCImgr.cpp SNFMulti/snfXCImgr.hpp SNFMulti/snf_xci.hpp
  151. $(CXX) $(CXXFLAGS) -c SNFMulti/snfXCImgr.cpp
  152. snf_xci.o: SNFMulti/snf_xci.cpp SNFMulti/snf_xci.hpp CodeDweller/configuration.hpp
  153. $(CXX) $(CXXFLAGS) -c SNFMulti/snf_xci.cpp
  154. snf_saccades.o: SNFMulti/snf_saccades.cpp SNFMulti/snf_saccades.hpp
  155. $(CXX) $(CXXFLAGS) -c SNFMulti/snf_saccades.cpp
  156. snf_sync.o: SNFMulti/snf_sync.cpp \
  157. SNFMulti/snf_sync.hpp \
  158. SNFMulti/GBUdb.hpp \
  159. CodeDweller/networking.hpp \
  160. CodeDweller/configuration.hpp
  161. $(CXX) $(CXXFLAGS) -c SNFMulti/snf_sync.cpp
  162. # Housekeeping...
  163. clean:
  164. rm *.o bin/* || true