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.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  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_engine.o \
  14. SNFMulti.o \
  15. GBUdb.o \
  16. FilterChain.o \
  17. snfCFGmgr.o \
  18. snfGBUdbmgr.o \
  19. snfLOGmgr.o \
  20. snfNETmgr.o \
  21. snfXCImgr.o
  22. $(CXX) $(CXXFLAGS) -o bin/SNFServer \
  23. 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_engine.o \
  34. SNFMulti.o \
  35. GBUdb.o \
  36. FilterChain.o \
  37. snfCFGmgr.o \
  38. snfGBUdbmgr.o \
  39. snfLOGmgr.o \
  40. snfNETmgr.o \
  41. snfXCImgr.o
  42. main.o: SNFServer/main.cpp \
  43. CodeDweller/timing.hpp \
  44. CodeDweller/networking.hpp \
  45. CodeDweller/threading.hpp \
  46. SNFMulti/snf_xci.hpp
  47. $(CXX) $(CXXFLAGS) -c SNFServer/main.cpp
  48. # CodeDweller...
  49. base64codec.o: CodeDweller/base64codec.cpp CodeDweller/base64codec.hpp
  50. $(CXX) $(CXXFLAGS) -c CodeDweller/base64codec.cpp
  51. configuration.o: CodeDweller/configuration.cpp CodeDweller/configuration.hpp
  52. $(CXX) $(CXXFLAGS) -c CodeDweller/configuration.cpp
  53. mangler.o: CodeDweller/mangler.cpp CodeDweller/mangler.hpp
  54. $(CXX) $(CXXFLAGS) -c CodeDweller/mangler.cpp
  55. networking.o: CodeDweller/networking.cpp CodeDweller/networking.hpp
  56. $(CXX) $(CXXFLAGS) -c CodeDweller/networking.cpp
  57. timing.o: CodeDweller/timing.cpp CodeDweller/timing.hpp
  58. $(CXX) $(CXXFLAGS) -c CodeDweller/timing.cpp
  59. threading.o: CodeDweller/threading.cpp CodeDweller/threading.hpp
  60. $(CXX) $(CXXFLAGS) -c CodeDweller/threading.cpp
  61. # SNFMulti...
  62. SNFMulti.o: SNFMulti/SNFMulti.cpp \
  63. SNFMulti/SNFMulti.hpp \
  64. SNFMulti/GBUdb.hpp \
  65. SNFMulti/FilterChain.hpp \
  66. SNFMulti/snf_engine.hpp \
  67. SNFMulti/snf_match.h \
  68. SNFMulti/snfCFGmgr.hpp \
  69. SNFMulti/snfGBUdbmgr.hpp \
  70. SNFMulti/snfLOGmgr.hpp \
  71. SNFMulti/snfNETmgr.hpp \
  72. SNFMulti/snfXCImgr.hpp \
  73. CodeDweller/timing.hpp \
  74. CodeDweller/faults.hpp \
  75. CodeDweller/threading.hpp
  76. $(CXX) $(CXXFLAGS) -c SNFMulti/SNFMulti.cpp
  77. GBUdb.o: SNFMulti/GBUdb.cpp SNFMulti/GBUdb.hpp
  78. $(CXX) $(CXXFLAGS) -c SNFMulti/GBUdb.cpp
  79. FilterChain.o: SNFMulti/FilterChain.cpp SNFMulti/FilterChain.hpp
  80. $(CXX) $(CXXFLAGS) -c SNFMulti/FilterChain.cpp
  81. snf_engine.o: SNFMulti/snf_engine.cpp SNFMulti/snf_engine.hpp
  82. $(CXX) $(CXXFLAGS) -c SNFMulti/snf_engine.cpp
  83. snfCFGmgr.o: SNFMulti/snfCFGmgr.cpp SNFMulti/snfCFGmgr.hpp SNFMulti/snf_HeaderFinder.hpp
  84. $(CXX) $(CXXFLAGS) -c SNFMulti/snfCFGmgr.cpp
  85. snf_HeaderFinder.o: SNFMulti/snf_HeaderFinder.cpp \
  86. SNFMulti/snf_HeaderFinder.hpp \
  87. SNFMulti/snfLOGmgr.hpp \
  88. SNFMulti/snfCFGmgr.hpp
  89. $(CXX) $(CXXFLAGS) -c SNFMulti/snf_HeaderFinder.cpp
  90. snfGBUdbmgr.o: SNFMulti/snfGBUdbmgr.cpp SNFMulti/snfGBUdbmgr.hpp
  91. $(CXX) $(CXXFLAGS) -c SNFMulti/snfGBUdbmgr.cpp
  92. snfLOGmgr.o: SNFMulti/snfLOGmgr.cpp SNFMulti/snfLOGmgr.hpp SNFMulti/snf_match.h
  93. $(CXX) $(CXXFLAGS) -c SNFMulti/snfLOGmgr.cpp
  94. snfNETmgr.o: SNFMulti/snfNETmgr.cpp \
  95. SNFMulti/snfNETmgr.hpp \
  96. SNFMulti/snfCFGmgr.hpp \
  97. SNFMulti/snfLOGmgr.hpp \
  98. SNFMulti/snfGBUdbmgr.hpp \
  99. CodeDweller/networking.hpp \
  100. CodeDweller/timing.hpp \
  101. CodeDweller/threading.hpp \
  102. CodeDweller/mangler.hpp
  103. $(CXX) $(CXXFLAGS) -c SNFMulti/snfNETmgr.cpp
  104. snfXCImgr.o: SNFMulti/snfXCImgr.cpp SNFMulti/snfXCImgr.hpp SNFMulti/snf_xci.hpp
  105. $(CXX) $(CXXFLAGS) -c SNFMulti/snfXCImgr.cpp
  106. snf_xci.o: SNFMulti/snf_xci.cpp SNFMulti/snf_xci.hpp CodeDweller/configuration.hpp
  107. $(CXX) $(CXXFLAGS) -c SNFMulti/snf_xci.cpp
  108. snf_sync.o: SNFMulti/snf_sync.cpp \
  109. SNFMulti/snf_sync.hpp \
  110. SNFMulti/GBUdb.hpp \
  111. CodeDweller/networking.hpp \
  112. CodeDweller/configuration.hpp
  113. $(CXX) $(CXXFLAGS) -c SNFMulti/snf_sync.cpp
  114. # Housekeeping...
  115. clean:
  116. rm *.o bin/* || true