CXX = g++ CXXFLAGS = -Wall -O3 target: main.o networking.o timing.o threading.o configuration.o snf_xci.o main.o $(CXX) $(CXXFLAGS) main.o networking.o timing.o threading.o configuration.o snf_xci.o -o bin/SNFClient -pthread main.o: SNFClient/main.cpp \ CodeDweller/timing.hpp \ CodeDweller/networking.hpp \ CodeDweller/threading.hpp \ SNFMulti/snf_xci.hpp $(CXX) $(CXXFLAGS) -c SNFClient/main.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 configuration.o: CodeDweller/configuration.cpp CodeDweller/configuration.hpp $(CXX) $(CXXFLAGS) -c CodeDweller/configuration.cpp snf_xci.o: SNFMulti/snf_xci.cpp SNFMulti/snf_xci.hpp CodeDweller/configuration.hpp $(CXX) $(CXXFLAGS) -c SNFMulti/snf_xci.cpp clean: rm *.o bin/*