git-svn-id: https://svn.microneil.com/svn/PKG-SNF-CS-WIN/trunk@33 ca630060-9ba5-4a53-a91e-8214b6452a9amaster
set path=c:\MinGW\bin;%path% | set path=c:\MinGW\bin;%path% | ||||
set CXX=c++ | set CXX=c++ | ||||
set LIB=c:\MinGW\lib\libws2_32.a | set LIB=c:\MinGW\lib\libws2_32.a | ||||
set CXXFLAGS=-Isource\CodeDweller -Isource\SNFMulti | |||||
set CXXFLAGS=-Isource\CodeDweller -Isource\SNFMulti -s -O3 -fexpensive-optimizations | |||||
set LDFLAGS=%LDFLAGS% %LIB% -static | set LDFLAGS=%LDFLAGS% %LIB% -static | ||||
%CXX% source\SNFClient\*.cpp source\CodeDweller\*.cpp source\SNFMulti\*.cpp %CXXFLAGS% -o SNFClient.exe %LDFLAGS% | %CXX% source\SNFClient\*.cpp source\CodeDweller\*.cpp source\SNFMulti\*.cpp %CXXFLAGS% -o SNFClient.exe %LDFLAGS% |
set path=c:\MinGW-64\bin;%path% | set path=c:\MinGW-64\bin;%path% | ||||
set CXX=x86_64-pc-mingw32-c++ | set CXX=x86_64-pc-mingw32-c++ | ||||
set LIB=c:\MinGW-64\x86_64-pc-mingw32\lib64\libws2_32.a | set LIB=c:\MinGW-64\x86_64-pc-mingw32\lib64\libws2_32.a | ||||
set CXXFLAGS=-Isource\CodeDweller -Isource\SNFMulti | |||||
set CXXFLAGS=-Isource\CodeDweller -Isource\SNFMulti -s -O3 -fexpensive-optimizations | |||||
set LDFLAGS=%LDFLAGS% %LIB% -static | set LDFLAGS=%LDFLAGS% %LIB% -static | ||||
%CXX% source\SNFClient\*.cpp source\CodeDweller\*.cpp source\SNFMulti\*.cpp %CXXFLAGS% -o SNFClient.exe %LDFLAGS% | %CXX% source\SNFClient\*.cpp source\CodeDweller\*.cpp source\SNFMulti\*.cpp %CXXFLAGS% -o SNFClient.exe %LDFLAGS% |