Browse Source

make file that works

master
Pete McNeil 4 years ago
parent
commit
55cab81775
2 changed files with 45 additions and 7 deletions
  1. 1
    1
      .gitignore
  2. 44
    6
      makefile

+ 1
- 1
.gitignore View File

# ignore the temporary stuff like objects etc... # ignore the temporary stuff like objects etc...
.o
*.o



+ 44
- 6
makefile View File

CXXFLAGS = -Wall -O3 -pthread CXXFLAGS = -Wall -O3 -pthread


target: main.o \ target: main.o \
base64codec.o \
configuration.o \
mangler.o \
networking.o \ networking.o \
timing.o \ timing.o \
threading.o \ threading.o \
configuration.o \
snf_HeaderFinder.o \
snf_xci.o \ snf_xci.o \
snf_sync.o \ snf_sync.o \
snf_saccades.o \ snf_saccades.o \
GBUdb.o \ GBUdb.o \
FilterChain.o \ FilterChain.o \
snfCFGmgr.o \ snfCFGmgr.o \
snfGBUdbmgr.o \
snfLOGmgr.o \ snfLOGmgr.o \
snfNETmgr.o \ snfNETmgr.o \
snfXCImgr.o snfXCImgr.o
$(CXX) $(CXXFLAGS) main.o networking.o timing.o threading.o configuration.o snf_xci.o -o bin/SNFServer
$(CXX) $(CXXFLAGS) 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 \
-o bin/SNFServer


static: main.o networking.o timing.o threading.o configuration.o snf_xci.o main.o static: main.o networking.o timing.o threading.o configuration.o snf_xci.o main.o
$(CXX) $(CXXFLAGS) -static main.o networking.o timing.o threading.o configuration.o snf_xci.o -o bin/SNFServer $(CXX) $(CXXFLAGS) -static main.o networking.o timing.o threading.o configuration.o snf_xci.o -o bin/SNFServer


# CodeDweller... # 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 CodeDweller/networking.inline.hpp networking.o: CodeDweller/networking.cpp CodeDweller/networking.hpp CodeDweller/networking.inline.hpp
$(CXX) $(CXXFLAGS) -c CodeDweller/networking.cpp $(CXX) $(CXXFLAGS) -c CodeDweller/networking.cpp


threading.o: CodeDweller/threading.cpp CodeDweller/threading.hpp threading.o: CodeDweller/threading.cpp CodeDweller/threading.hpp
$(CXX) $(CXXFLAGS) -c CodeDweller/threading.cpp $(CXX) $(CXXFLAGS) -c CodeDweller/threading.cpp


configuration.o: CodeDweller/configuration.cpp CodeDweller/configuration.hpp
$(CXX) $(CXXFLAGS) -c CodeDweller/configuration.cpp

# SNFMulti... # SNFMulti...


SNFMulti.o: SNFMulti/SNFMulti.cpp \ SNFMulti.o: SNFMulti/SNFMulti.cpp \
snfLOGmgr.o: SNFMulti/snfLOGmgr.cpp SNFMulti/snfLOGmgr.hpp SNFMulti/snfLOGmgr.inline.hpp SNFMulti/snf_match.h snfLOGmgr.o: SNFMulti/snfLOGmgr.cpp SNFMulti/snfLOGmgr.hpp SNFMulti/snfLOGmgr.inline.hpp SNFMulti/snf_match.h
$(CXX) $(CXXFLAGS) -c SNFMulti/snfLOGmgr.cpp $(CXX) $(CXXFLAGS) -c SNFMulti/snfLOGmgr.cpp


snfNETmgr.o: SNFMulti/snfNETmgr.cpp SNFMulti/snfNETmgr.hpp
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 $(CXX) $(CXXFLAGS) -c SNFMulti/snfNETmgr.cpp


snfXCImgr.o: SNFMulti/snfXCImgr.cpp SNFMulti/snfXCImgr.hpp SNFMulti/snf_xci.hpp snfXCImgr.o: SNFMulti/snfXCImgr.cpp SNFMulti/snfXCImgr.hpp SNFMulti/snf_xci.hpp

Loading…
Cancel
Save