CXX = g++ CXXFLAGS = -Wall -O3 -pthread target: main.o \ base64codec.o \ configuration.o \ mangler.o \ networking.o \ timing.o \ threading.o \ snf_HeaderFinder.o \ snf_xci.o \ snf_sync.o \ snf_saccades.o \ snf_engine.o \ SNFMulti.o \ GBUdb.o \ FilterChain.o \ snfCFGmgr.o \ snfGBUdbmgr.o \ snfLOGmgr.o \ snfNETmgr.o \ snfXCImgr.o $(CXX) $(CXXFLAGS) -o bin/SNFServer \ main.o \ base64codec.o \ configuration.o \ mangler.o \ networking.o \ timing.o \ threading.o \ snf_HeaderFinder.o \ snf_xci.o \ snf_sync.o \ snf_saccades.o \ snf_engine.o \ SNFMulti.o \ GBUdb.o \ FilterChain.o \ snfCFGmgr.o \ snfGBUdbmgr.o \ snfLOGmgr.o \ snfNETmgr.o \ snfXCImgr.o main.o: SNFServer/main.cpp \ CodeDweller/timing.hpp \ CodeDweller/networking.hpp \ CodeDweller/threading.hpp \ SNFMulti/snf_xci.hpp $(CXX) $(CXXFLAGS) -c SNFServer/main.cpp # CodeDweller... base64codec.o: CodeDweller/base64codec.cpp CodeDweller/base64codec.hpp $(CXX) $(CXXFLAGS) -c CodeDweller/base64codec.cpp configuration.o: CodeDweller/configuration.cpp CodeDweller/configuration.hpp $(CXX) $(CXXFLAGS) -c CodeDweller/configuration.cpp mangler.o: CodeDweller/mangler.cpp CodeDweller/mangler.hpp $(CXX) $(CXXFLAGS) -c CodeDweller/mangler.cpp networking.o: CodeDweller/networking.cpp CodeDweller/networking.hpp $(CXX) $(CXXFLAGS) -c CodeDweller/networking.cpp timing.o: CodeDweller/timing.cpp CodeDweller/timing.hpp $(CXX) $(CXXFLAGS) -c CodeDweller/timing.cpp threading.o: CodeDweller/threading.cpp CodeDweller/threading.hpp $(CXX) $(CXXFLAGS) -c CodeDweller/threading.cpp # SNFMulti... SNFMulti.o: SNFMulti/SNFMulti.cpp \ SNFMulti/SNFMulti.hpp \ SNFMulti/GBUdb.hpp \ SNFMulti/FilterChain.hpp \ SNFMulti/snf_engine.hpp \ SNFMulti/snf_match.h \ SNFMulti/snfCFGmgr.hpp \ SNFMulti/snfGBUdbmgr.hpp \ SNFMulti/snfLOGmgr.hpp \ SNFMulti/snfNETmgr.hpp \ SNFMulti/snfXCImgr.hpp \ SNFMulti/snf_saccades.hpp \ CodeDweller/timing.hpp \ CodeDweller/faults.hpp \ CodeDweller/threading.hpp $(CXX) $(CXXFLAGS) -c SNFMulti/SNFMulti.cpp GBUdb.o: SNFMulti/GBUdb.cpp SNFMulti/GBUdb.hpp $(CXX) $(CXXFLAGS) -c SNFMulti/GBUdb.cpp FilterChain.o: SNFMulti/FilterChain.cpp SNFMulti/FilterChain.hpp $(CXX) $(CXXFLAGS) -c SNFMulti/FilterChain.cpp snf_engine.o: SNFMulti/snf_engine.cpp SNFMulti/snf_engine.hpp $(CXX) $(CXXFLAGS) -c SNFMulti/snf_engine.cpp snfCFGmgr.o: SNFMulti/snfCFGmgr.cpp SNFMulti/snfCFGmgr.hpp SNFMulti/snf_HeaderFinder.hpp $(CXX) $(CXXFLAGS) -c SNFMulti/snfCFGmgr.cpp snf_HeaderFinder.o: SNFMulti/snf_HeaderFinder.cpp \ SNFMulti/snf_HeaderFinder.hpp \ SNFMulti/snfLOGmgr.hpp \ SNFMulti/snfCFGmgr.hpp $(CXX) $(CXXFLAGS) -c SNFMulti/snf_HeaderFinder.cpp snfGBUdbmgr.o: SNFMulti/snfGBUdbmgr.cpp SNFMulti/snfGBUdbmgr.hpp $(CXX) $(CXXFLAGS) -c SNFMulti/snfGBUdbmgr.cpp snfLOGmgr.o: SNFMulti/snfLOGmgr.cpp SNFMulti/snfLOGmgr.hpp SNFMulti/snf_match.h $(CXX) $(CXXFLAGS) -c SNFMulti/snfLOGmgr.cpp snfNETmgr.o: SNFMulti/snfNETmgr.cpp \ SNFMulti/snfNETmgr.hpp \ SNFMulti/snfCFGmgr.hpp \ SNFMulti/snfLOGmgr.hpp \ SNFMulti/snfGBUdbmgr.hpp \ CodeDweller/networking.hpp \ CodeDweller/timing.hpp \ CodeDweller/threading.hpp \ CodeDweller/mangler.hpp $(CXX) $(CXXFLAGS) -c SNFMulti/snfNETmgr.cpp snfXCImgr.o: SNFMulti/snfXCImgr.cpp SNFMulti/snfXCImgr.hpp SNFMulti/snf_xci.hpp $(CXX) $(CXXFLAGS) -c SNFMulti/snfXCImgr.cpp snf_xci.o: SNFMulti/snf_xci.cpp SNFMulti/snf_xci.hpp CodeDweller/configuration.hpp $(CXX) $(CXXFLAGS) -c SNFMulti/snf_xci.cpp snf_saccades.o: SNFMulti/snf_saccades.cpp SNFMulti/snf_saccades.hpp $(CXX) $(CXXFLAGS) -c SNFMulti/snf_saccades.cpp snf_sync.o: SNFMulti/snf_sync.cpp \ SNFMulti/snf_sync.hpp \ SNFMulti/GBUdb.hpp \ CodeDweller/networking.hpp \ CodeDweller/configuration.hpp $(CXX) $(CXXFLAGS) -c SNFMulti/snf_sync.cpp # Housekeeping... clean: rm *.o bin/* || true