소스 검색

make file that works

master
Pete McNeil 4 년 전
부모
커밋
55cab81775
2개의 변경된 파일45개의 추가작업 그리고 7개의 파일을 삭제
  1. 1
    1
      .gitignore
  2. 44
    6
      makefile

+ 1
- 1
.gitignore 파일 보기

@@ -1,3 +1,3 @@
# ignore the temporary stuff like objects etc...
.o
*.o


+ 44
- 6
makefile 파일 보기

@@ -2,10 +2,13 @@ CXX = g++
CXXFLAGS = -Wall -O3 -pthread

target: main.o \
base64codec.o \
configuration.o \
mangler.o \
networking.o \
timing.o \
threading.o \
configuration.o \
snf_HeaderFinder.o \
snf_xci.o \
snf_sync.o \
snf_saccades.o \
@@ -14,10 +17,31 @@ target: main.o \
GBUdb.o \
FilterChain.o \
snfCFGmgr.o \
snfGBUdbmgr.o \
snfLOGmgr.o \
snfNETmgr.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
$(CXX) $(CXXFLAGS) -static main.o networking.o timing.o threading.o configuration.o snf_xci.o -o bin/SNFServer
@@ -32,6 +56,15 @@ main.o: 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 CodeDweller/networking.inline.hpp
$(CXX) $(CXXFLAGS) -c CodeDweller/networking.cpp

@@ -41,9 +74,6 @@ timing.o: CodeDweller/timing.cpp CodeDweller/timing.hpp
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

# SNFMulti...

SNFMulti.o: SNFMulti/SNFMulti.cpp \
@@ -88,7 +118,15 @@ snfGBUdbmgr.o: SNFMulti/snfGBUdbmgr.cpp SNFMulti/snfGBUdbmgr.hpp
snfLOGmgr.o: SNFMulti/snfLOGmgr.cpp SNFMulti/snfLOGmgr.hpp SNFMulti/snfLOGmgr.inline.hpp SNFMulti/snf_match.h
$(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

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

Loading…
취소
저장