Skip to content

Commit

Permalink
fix linux install.sh error, add all makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
NickYang committed Apr 22, 2016
1 parent 48f165c commit 4bb52a0
Show file tree
Hide file tree
Showing 33 changed files with 631 additions and 546 deletions.
70 changes: 37 additions & 33 deletions Build4Makefile.sh
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# delete old makefile(s)
find ../NFComm -name 'makefile' -type f -print -exec rm -rf {} \;
find ../NFServer -name 'makefile' -type f -print -exec rm -rf {} \;

# start to generate makefile
# start to generate makefile(s)
cd ./Tool

./cbp2make.linux-x86_64 -in ../NFComm/NFCluster/NFMysqlClusterPlugin.cbp -out ../NFComm/NFCluster/makefile
Expand Down Expand Up @@ -28,43 +31,44 @@ cd ./Tool
./cbp2make.linux-x86_64 -in ../NFServer/NFMasterServerPlugin/NFMasterServerPlugin.cbp -out ../NFServer/NFMasterServerPlugin/makefile
./cbp2make.linux-x86_64 -in ../NFServer/NFProxyServerNet_ClientPlugin/NFProxyServerNet_ClientPlugin.cbp -out ../NFServer/NFProxyServerNet_ClientPlugin/makefile
./cbp2make.linux-x86_64 -in ../NFServer/NFProxyServerNet_ServerPlugin/NFProxyServerNet_ServerPlugin.cbp -out ../NFServer/NFProxyServerNet_ServerPlugin/makefile
./cbp2make.linux-x86_64 -in ../NFServer/NFProxyPlugin/NFProxyPlugin.cbp -out ../NFServer/NFProxyPlugin/makefile
./cbp2make.linux-x86_64 -in ../NFServer/NFProxyServerPlugin/NFProxyPlugin.cbp -out ../NFServer/NFProxyServerPlugin/makefile
./cbp2make.linux-x86_64 -in ../NFServer/NFWorldLogicPlugin/NFWorldLogicPlugin.cbp -out ../NFServer/NFWorldLogicPlugin/makefile
./cbp2make.linux-x86_64 -in ../NFServer/NFWorldNet_ClientPlugin/NFWorldNet_ClientPlugin.cbp -out ../NFServer/NFWorldNet_ClientPlugin/makefile
./cbp2make.linux-x86_64 -in ../NFServer/NFWorldNet_ServerPlugin/NFWorldNet_ServerPlugin.cbp -out ../NFServer/NFWorldNet_ServerPlugin/makefile

# add SolutionDir

# add SolutionDir in line 20
# SolutionDir = ../../
sed '/LDFLAGS = /a\SolutionDir = ../../\n' ../NFComm/NFCluster/makefile
sed '/LDFLAGS = /a\SolutionDir = ../../\n' ../NFComm/NFConfigPlugin/makefile
sed '/LDFLAGS = /a\SolutionDir = ../../\n' ../NFComm/NFCore/makefile
sed '/LDFLAGS = /a\SolutionDir = ../../\n' ../NFComm/NFCrashPlugin/makefile
sed '/LDFLAGS = /a\SolutionDir = ../../\n' ../NFComm/NFDataBasePlugin/makefile
sed '/LDFLAGS = /a\SolutionDir = ../../\n' ../NFComm/NFDataNoSqlPlugin/makefile
sed '/LDFLAGS = /a\SolutionDir = ../../\n' ../NFComm/NFKernelPlugin/makefile
sed '/LDFLAGS = /a\SolutionDir = ../../\n' ../NFComm/NFLogPlugin/makefile
sed '/LDFLAGS = /a\SolutionDir = ../../\n' ../NFComm/NFLuaScriptPlugin/makefile
sed '/LDFLAGS = /a\SolutionDir = ../../\n' ../NFComm/NFMessageDefine/makefile
sed '/LDFLAGS = /a\SolutionDir = ../../\n' ../NFComm/NFNet/makefile
sed '/LDFLAGS = /a\SolutionDir = ../../\n' ../NFComm/NFPluginLoader/makefile
sed '/LDFLAGS = /a\SolutionDir = ../../\n' ../NFComm/NFTagPlugin/makefile
sed '/LDFLAGS = /a\SolutionDir = ../../\n' ../NFComm/NFUrlPlugin/makefile
sed -i '20i\SolutionDir = ../../\n' ../NFComm/NFCluster/makefile
sed -i '20i\SolutionDir = ../../\n' ../NFComm/NFConfigPlugin/makefile
sed -i '20i\SolutionDir = ../../\n' ../NFComm/NFCore/makefile
sed -i '20i\SolutionDir = ../../\n' ../NFComm/NFCrashPlugin/makefile
sed -i '20i\SolutionDir = ../../\n' ../NFComm/NFDataBasePlugin/makefile
sed -i '20i\SolutionDir = ../../\n' ../NFComm/NFDataNoSqlPlugin/makefile
sed -i '20i\SolutionDir = ../../\n' ../NFComm/NFKernelPlugin/makefile
sed -i '20i\SolutionDir = ../../\n' ../NFComm/NFLogPlugin/makefile
sed -i '20i\SolutionDir = ../../\n' ../NFComm/NFLuaScriptPlugin/makefile
sed -i '20i\SolutionDir = ../../\n' ../NFComm/NFMessageDefine/makefile
sed -i '20i\SolutionDir = ../../\n' ../NFComm/NFNet/makefile
sed -i '20i\SolutionDir = ../../\n' ../NFComm/NFPluginLoader/makefile
sed -i '20i\SolutionDir = ../../\n' ../NFComm/NFTagPlugin/makefile
sed -i '20i\SolutionDir = ../../\n' ../NFComm/NFUrlPlugin/makefile

sed -i '20i\SolutionDir = ../../\n' ../NFServer/NFDataBaseNet_ClientPlugin/makefile
sed -i '20i\SolutionDir = ../../\n' ../NFServer/NFGameServerNet_ClientPlugin/makefile
sed -i '20i\SolutionDir = ../../\n' ../NFServer/NFGameServerNet_ServerPlugin/makefile
sed -i '20i\SolutionDir = ../../\n' ../NFServer/NFGameServerPlugin/makefile
sed -i '20i\SolutionDir = ../../\n' ../NFServer/NFLoginLogicPlugin/makefile
sed -i '20i\SolutionDir = ../../\n' ../NFServer/NFLoginNet_ClientPlugin/makefile
sed -i '20i\SolutionDir = ../../\n' ../NFServer/NFLoginNet_ServerPlugin/makefile
sed -i '20i\SolutionDir = ../../\n' ../NFServer/NFMasterNet_ServerPlugin/makefile
sed -i '20i\SolutionDir = ../../\n' ../NFServer/NFMasterServerPlugin/makefile
sed -i '20i\SolutionDir = ../../\n' ../NFServer/NFProxyServerNet_ClientPlugin/makefile
sed -i '20i\SolutionDir = ../../\n' ../NFServer/NFProxyServerNet_ServerPlugin/makefile
sed -i '20i\SolutionDir = ../../\n' ../NFServer/NFProxyServerPlugin/makefile
sed -i '20i\SolutionDir = ../../\n' ../NFServer/NFWorldLogicPlugin/makefile
sed -i '20i\SolutionDir = ../../\n' ../NFServer/NFWorldNet_ClientPlugin/makefile
sed -i '20i\SolutionDir = ../../\n' ../NFServer/NFWorldNet_ServerPlugin/makefile

sed '/LDFLAGS = /a\SolutionDir = ../../\n' ../NFComm/NFDataBaseNet_ClientPlugin/makefile
sed '/LDFLAGS = /a\SolutionDir = ../../\n' ../NFComm/NFGameServerNet_ClientPlugin/makefile
sed '/LDFLAGS = /a\SolutionDir = ../../\n' ../NFComm/NFGameServerNet_ServerPlugin/makefile
sed '/LDFLAGS = /a\SolutionDir = ../../\n' ../NFComm/NFGameServerPlugin/makefile
sed '/LDFLAGS = /a\SolutionDir = ../../\n' ../NFComm/NFLoginLogicPlugin/makefile
sed '/LDFLAGS = /a\SolutionDir = ../../\n' ../NFComm/NFLoginNet_ClientPlugin/makefile
sed '/LDFLAGS = /a\SolutionDir = ../../\n' ../NFComm/NFLoginNet_ServerPlugin/makefile
sed '/LDFLAGS = /a\SolutionDir = ../../\n' ../NFComm/NFMasterNet_ServerPlugin/makefile
sed '/LDFLAGS = /a\SolutionDir = ../../\n' ../NFComm/NFMasterServerPlugin/makefile
sed '/LDFLAGS = /a\SolutionDir = ../../\n' ../NFComm/NFProxyServerNet_ClientPlugin/makefile
sed '/LDFLAGS = /a\SolutionDir = ../../\n' ../NFComm/NFProxyServerNet_ServerPlugin/makefile
sed '/LDFLAGS = /a\SolutionDir = ../../\n' ../NFComm/NFProxyPlugin/makefile
sed '/LDFLAGS = /a\SolutionDir = ../../\n' ../NFComm/NFWorldLogicPlugin/makefile
sed '/LDFLAGS = /a\SolutionDir = ../../\n' ../NFComm/NFWorldNet_ClientPlugin/makefile
sed '/LDFLAGS = /a\SolutionDir = ../../\n' ../NFComm/NFWorldNet_ServerPlugin/makefile


cd ../
3 changes: 2 additions & 1 deletion Dependencies/build_dep.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,5 @@ cd ../
# TODO: other libs

# back to main dir
cd ../
pwd

61 changes: 41 additions & 20 deletions NFComm/NFCluster/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,59 +19,70 @@ LIB =
LDFLAGS =
SolutionDir = ../../

INC_DEBUG_X64 = $(INC) -I$(SolutionDir) -I$(SolutionDir)/Dependencies/ -I$(SolutionDir)/Dependencies/boost_1_53_0/ -I$(SolutionDir)/Dependencies/Theron-6.00.01/Include/ -I$(SolutionDir)/Dependencies/mysql/ -I$(SolutionDir)/Dependencies/mysqlpp/

INC_DEBUG_X64 = $(INC) -I$(SolutionDir) -I$(SolutionDir)/Dependencies/ -I$(SolutionDir)/Dependencies/Theron/Include/ -I$(SolutionDir)/Dependencies/mysql/ -I$(SolutionDir)/Dependencies/mysqlpp/ -I$(SolutionDir)/Dependencies/protobuf/src/
CFLAGS_DEBUG_X64 = $(CFLAGS) -std=c++11 -g -fPIC -D_DEBUG -D_USRDLL
RESINC_DEBUG_X64 = $(RESINC)
RCFLAGS_DEBUG_X64 = $(RCFLAGS)
LIBDIR_DEBUG_X64 = $(LIBDIR) -L$(SolutionDir)/_Out/Comm/Debug/ -L$(SolutionDir)/lib/Debug/
LIB_DEBUG_X64 = $(LIB)$(SolutionDir)/_Out/Comm/Debug/NFCore_d.a $(SolutionDir)/Dependencies/lib/Debug/libmysqlpp.a $(SolutionDir)/Dependencies/lib/Debug/libmysqlclient.a
LIB_DEBUG_X64 = $(LIB)$(SolutionDir)/_Out/Comm/Debug/NFCore_d.a $(SolutionDir)/Dependencies/lib/Debug/libmysqlpp.a $(SolutionDir)/Dependencies/lib/Debug/libmysqlclient.a $(SolutionDir)/Dependencies/lib/Debug/libprotobuf.a
LDFLAGS_DEBUG_X64 = $(LDFLAGS)
OBJDIR_DEBUG_X64 = .objs
DEP_DEBUG_X64 =
OUT_DEBUG_X64 = $(SolutionDir)/_Out/Comm/Debug/NFMysqlClusterPlugin_d.so
OUT_DEBUG_X64 = \$\(SolutionDir\)/_Out/Comm/Debug/NFMysqlClusterPlugin_d.so

INC_RELEASE_X64 = $(INC) -I$(SolutionDir) -I$(SolutionDir)/Dependencies/ -I$(SolutionDir)/Dependencies/boost_1_53_0/ -I$(SolutionDir)/Dependencies/Theron-6.00.01/Include/ -I$(SolutionDir)/Dependencies/mysql/ -I$(SolutionDir)/Dependencies/mysqlpp/
INC_RELEASE_X64 = $(INC) -I$(SolutionDir) -I$(SolutionDir)/Dependencies/ -I$(SolutionDir)/Dependencies/Theron/Include/ -I$(SolutionDir)/Dependencies/mysql/ -I$(SolutionDir)/Dependencies/mysqlpp/ -I$(SolutionDir)/Dependencies/protobuf/src/
CFLAGS_RELEASE_X64 = $(CFLAGS) -std=c++11 -fPIC -DNDEBUG -D_USRDLL
RESINC_RELEASE_X64 = $(RESINC)
RCFLAGS_RELEASE_X64 = $(RCFLAGS)
LIBDIR_RELEASE_X64 = $(LIBDIR) -L$(SolutionDir)/_Out/Comm/Release/ -L$(SolutionDir)/lib/Release/
LIB_RELEASE_X64 = $(LIB)$(SolutionDir)/_Out/Comm/Release/NFCore.a $(SolutionDir)/Dependencies/lib/Release/libmysqlpp.a $(SolutionDir)/Dependencies/lib/Release/libmysqlclient.a
LIB_RELEASE_X64 = $(LIB)$(SolutionDir)/_Out/Comm/Release/NFCore.a $(SolutionDir)/Dependencies/lib/Release/libmysqlpp.a $(SolutionDir)/Dependencies/lib/Release/libmysqlclient.a $(SolutionDir)/Dependencies/lib/Debug/libprotobuf.a
LDFLAGS_RELEASE_X64 = $(LDFLAGS)
OBJDIR_RELEASE_X64 = .objs
DEP_RELEASE_X64 =
OUT_RELEASE_X64 = $(SolutionDir)/_Out/Comm/Release/NFMysqlClusterPlugin.so
OUT_RELEASE_X64 = \$\(SolutionDir\)/_Out/Comm/Release/NFMysqlClusterPlugin.so

OBJ_DEBUG_X64 = $(OBJDIR_DEBUG_X64)/NFCMysqlClusterModule.o $(OBJDIR_DEBUG_X64)/NFCMysqlConnectMgrModule.o $(OBJDIR_DEBUG_X64)/NFCMysqlDriver.o $(OBJDIR_DEBUG_X64)/NFMysqlClusterPlugin.o $(OBJDIR_DEBUG_X64)/dllmain.o
OBJ_DEBUG_X64 = $(OBJDIR_DEBUG_X64)/NFCAsyMysqlClusterModule.o $(OBJDIR_DEBUG_X64)/NFCMysqlClusterModule.o $(OBJDIR_DEBUG_X64)/NFCMysqlDriver.o $(OBJDIR_DEBUG_X64)/NFCMysqlDriverManager.o $(OBJDIR_DEBUG_X64)/NFMysqlClusterPlugin.o $(OBJDIR_DEBUG_X64)/dllmain.o

OBJ_RELEASE_X64 = $(OBJDIR_RELEASE_X64)/NFCMysqlClusterModule.o $(OBJDIR_RELEASE_X64)/NFCMysqlConnectMgrModule.o $(OBJDIR_RELEASE_X64)/NFCMysqlDriver.o $(OBJDIR_RELEASE_X64)/NFMysqlClusterPlugin.o $(OBJDIR_RELEASE_X64)/dllmain.o
OBJ_RELEASE_X64 = $(OBJDIR_RELEASE_X64)/NFCAsyMysqlClusterModule.o $(OBJDIR_RELEASE_X64)/NFCMysqlClusterModule.o $(OBJDIR_RELEASE_X64)/NFCMysqlDriver.o $(OBJDIR_RELEASE_X64)/NFCMysqlDriverManager.o $(OBJDIR_RELEASE_X64)/NFMysqlClusterPlugin.o $(OBJDIR_RELEASE_X64)/dllmain.o

all: debug_x64 release_x64

clean: clean_debug_x64 clean_release_x64

before_debug_x64:
test -d $(SolutionDir)/_Out/Comm/Debug || mkdir -p $(SolutionDir)/_Out/Comm/Debug
test -d \$\(SolutionDir\)/_Out/Comm/Debug || mkdir -p \$\(SolutionDir\)/_Out/Comm/Debug
test -d $(OBJDIR_DEBUG_X64) || mkdir -p $(OBJDIR_DEBUG_X64)

after_debug_x64:
cp -f $(SolutionDir)/_Out/Comm/Debug/NFMysqlClusterPlugin_d.so $(SolutionDir)/_Out/Server/Debug/NFGameServer1/
cp -f $(SolutionDir)/_Out/Comm/Debug/NFMysqlClusterPlugin_d.so $(SolutionDir)/_Out/Server/Debug/NFLoginServer/
cp -f $(SolutionDir)/_Out/Comm/Debug/NFMysqlClusterPlugin_d.so $(SolutionDir)/_Out/Server/Debug/NFWorldServer/
cp -f $(SolutionDir)/_Out/Comm/Debug/NFMysqlClusterPlugin_d.so $(SolutionDir)/_Out/Server/Debug/NFMasterServer/
cp -f $(SolutionDir)/_Out/Comm/Debug/NFMysqlClusterPlugin_d.so $(SolutionDir)/_Out/Server/Debug/NFProxyServer1/
cp -f $(SolutionDir)/_Out/Comm/Debug/NFMysqlClusterPlugin_d.so $(SolutionDir)/_Out/Server/Debug/NFGameServer1/
cp -f $(SolutionDir)/_Out/Comm/Debug/NFMysqlClusterPlugin_d.so $(SolutionDir)/_Out/Server/Debug/Tutorial1/
cp -f $(SolutionDir)/_Out/Comm/Debug/NFMysqlClusterPlugin_d.so $(SolutionDir)/_Out/Server/Debug/Tutorial2/
cp -f $(SolutionDir)/_Out/Comm/Debug/NFMysqlClusterPlugin_d.so $(SolutionDir)/_Out/Server/Debug/Tutorial3/
cp -f $(SolutionDir)/_Out/Comm/Debug/NFMysqlClusterPlugin_d.so $(SolutionDir)/_Out/Server/Debug/Tutorial4/
cp -f $(SolutionDir)/_Out/Comm/Debug/NFMysqlClusterPlugin_d.so $(SolutionDir)/_Out/Server/Debug/Tutorial5/

debug_x64: before_debug_x64 out_debug_x64 after_debug_x64

out_debug_x64: before_debug_x64 $(OBJ_DEBUG_X64) $(DEP_DEBUG_X64)
$(LD) -shared $(LIBDIR_DEBUG_X64) $(OBJ_DEBUG_X64) -o $(OUT_DEBUG_X64) $(LDFLAGS_DEBUG_X64) $(LIB_DEBUG_X64)

$(OBJDIR_DEBUG_X64)/NFCAsyMysqlClusterModule.o: NFCAsyMysqlClusterModule.cpp
$(CXX) $(CFLAGS_DEBUG_X64) $(INC_DEBUG_X64) -c NFCAsyMysqlClusterModule.cpp -o $(OBJDIR_DEBUG_X64)/NFCAsyMysqlClusterModule.o

$(OBJDIR_DEBUG_X64)/NFCMysqlClusterModule.o: NFCMysqlClusterModule.cpp
$(CXX) $(CFLAGS_DEBUG_X64) $(INC_DEBUG_X64) -c NFCMysqlClusterModule.cpp -o $(OBJDIR_DEBUG_X64)/NFCMysqlClusterModule.o

$(OBJDIR_DEBUG_X64)/NFCMysqlConnectMgrModule.o: NFCMysqlConnectMgrModule.cpp
$(CXX) $(CFLAGS_DEBUG_X64) $(INC_DEBUG_X64) -c NFCMysqlConnectMgrModule.cpp -o $(OBJDIR_DEBUG_X64)/NFCMysqlConnectMgrModule.o

$(OBJDIR_DEBUG_X64)/NFCMysqlDriver.o: NFCMysqlDriver.cpp
$(CXX) $(CFLAGS_DEBUG_X64) $(INC_DEBUG_X64) -c NFCMysqlDriver.cpp -o $(OBJDIR_DEBUG_X64)/NFCMysqlDriver.o

$(OBJDIR_DEBUG_X64)/NFCMysqlDriverManager.o: NFCMysqlDriverManager.cpp
$(CXX) $(CFLAGS_DEBUG_X64) $(INC_DEBUG_X64) -c NFCMysqlDriverManager.cpp -o $(OBJDIR_DEBUG_X64)/NFCMysqlDriverManager.o

$(OBJDIR_DEBUG_X64)/NFMysqlClusterPlugin.o: NFMysqlClusterPlugin.cpp
$(CXX) $(CFLAGS_DEBUG_X64) $(INC_DEBUG_X64) -c NFMysqlClusterPlugin.cpp -o $(OBJDIR_DEBUG_X64)/NFMysqlClusterPlugin.o

Expand All @@ -80,32 +91,42 @@ $(OBJDIR_DEBUG_X64)/dllmain.o: dllmain.cpp

clean_debug_x64:
rm -f $(OBJ_DEBUG_X64) $(OUT_DEBUG_X64)
rm -rf $(SolutionDir)/_Out/Comm/Debug
rm -rf \$\(SolutionDir\)/_Out/Comm/Debug
rm -rf $(OBJDIR_DEBUG_X64)

before_release_x64:
test -d $(SolutionDir)/_Out/Comm/Release || mkdir -p $(SolutionDir)/_Out/Comm/Release
test -d \$\(SolutionDir\)/_Out/Comm/Release || mkdir -p \$\(SolutionDir\)/_Out/Comm/Release
test -d $(OBJDIR_RELEASE_X64) || mkdir -p $(OBJDIR_RELEASE_X64)

after_release_x64:
cp -f $(SolutionDir)/_Out/Comm/Release/NFMysqlClusterPlugin.so $(SolutionDir)/_Out/Server/Release/NFGameServer1/
cp -f $(SolutionDir)/_Out/Comm/Release/NFMysqlClusterPlugin.so $(SolutionDir)/_Out/Server/Release/NFLoginServer/
cp -f $(SolutionDir)/_Out/Comm/Release/NFMysqlClusterPlugin.so $(SolutionDir)/_Out/Server/Release/NFWorldServer/
cp -f $(SolutionDir)/_Out/Comm/Release/NFMysqlClusterPlugin.so $(SolutionDir)/_Out/Server/Release/NFMasterServer/
cp -f $(SolutionDir)/_Out/Comm/Release/NFMysqlClusterPlugin.so $(SolutionDir)/_Out/Server/Release/NFProxyServer1/
cp -f $(SolutionDir)/_Out/Comm/Release/NFMysqlClusterPlugin.so $(SolutionDir)/_Out/Server/Release/NFGameServer1/
cp -f $(SolutionDir)/_Out/Comm/Release/NFMysqlClusterPlugin.so $(SolutionDir)/_Out/Server/Release/Tutorial1/
cp -f $(SolutionDir)/_Out/Comm/Release/NFMysqlClusterPlugin.so $(SolutionDir)/_Out/Server/Release/Tutorial2/
cp -f $(SolutionDir)/_Out/Comm/Release/NFMysqlClusterPlugin.so $(SolutionDir)/_Out/Server/Release/Tutorial3/
cp -f $(SolutionDir)/_Out/Comm/Release/NFMysqlClusterPlugin.so $(SolutionDir)/_Out/Server/Release/Tutorial4/
cp -f $(SolutionDir)/_Out/Comm/Release/NFMysqlClusterPlugin.so $(SolutionDir)/_Out/Server/Release/Tutorial5/

release_x64: before_release_x64 out_release_x64 after_release_x64

out_release_x64: before_release_x64 $(OBJ_RELEASE_X64) $(DEP_RELEASE_X64)
$(LD) -shared $(LIBDIR_RELEASE_X64) $(OBJ_RELEASE_X64) -o $(OUT_RELEASE_X64) $(LDFLAGS_RELEASE_X64) $(LIB_RELEASE_X64)

$(OBJDIR_RELEASE_X64)/NFCAsyMysqlClusterModule.o: NFCAsyMysqlClusterModule.cpp
$(CXX) $(CFLAGS_RELEASE_X64) $(INC_RELEASE_X64) -c NFCAsyMysqlClusterModule.cpp -o $(OBJDIR_RELEASE_X64)/NFCAsyMysqlClusterModule.o

$(OBJDIR_RELEASE_X64)/NFCMysqlClusterModule.o: NFCMysqlClusterModule.cpp
$(CXX) $(CFLAGS_RELEASE_X64) $(INC_RELEASE_X64) -c NFCMysqlClusterModule.cpp -o $(OBJDIR_RELEASE_X64)/NFCMysqlClusterModule.o

$(OBJDIR_RELEASE_X64)/NFCMysqlConnectMgrModule.o: NFCMysqlConnectMgrModule.cpp
$(CXX) $(CFLAGS_RELEASE_X64) $(INC_RELEASE_X64) -c NFCMysqlConnectMgrModule.cpp -o $(OBJDIR_RELEASE_X64)/NFCMysqlConnectMgrModule.o

$(OBJDIR_RELEASE_X64)/NFCMysqlDriver.o: NFCMysqlDriver.cpp
$(CXX) $(CFLAGS_RELEASE_X64) $(INC_RELEASE_X64) -c NFCMysqlDriver.cpp -o $(OBJDIR_RELEASE_X64)/NFCMysqlDriver.o

$(OBJDIR_RELEASE_X64)/NFCMysqlDriverManager.o: NFCMysqlDriverManager.cpp
$(CXX) $(CFLAGS_RELEASE_X64) $(INC_RELEASE_X64) -c NFCMysqlDriverManager.cpp -o $(OBJDIR_RELEASE_X64)/NFCMysqlDriverManager.o

$(OBJDIR_RELEASE_X64)/NFMysqlClusterPlugin.o: NFMysqlClusterPlugin.cpp
$(CXX) $(CFLAGS_RELEASE_X64) $(INC_RELEASE_X64) -c NFMysqlClusterPlugin.cpp -o $(OBJDIR_RELEASE_X64)/NFMysqlClusterPlugin.o

Expand All @@ -114,7 +135,7 @@ $(OBJDIR_RELEASE_X64)/dllmain.o: dllmain.cpp

clean_release_x64:
rm -f $(OBJ_RELEASE_X64) $(OUT_RELEASE_X64)
rm -rf $(SolutionDir)/_Out/Comm/Release
rm -rf \$\(SolutionDir\)/_Out/Comm/Release
rm -rf $(OBJDIR_RELEASE_X64)

.PHONY: before_debug_x64 after_debug_x64 clean_debug_x64 before_release_x64 after_release_x64 clean_release_x64
Expand Down
Loading

0 comments on commit 4bb52a0

Please sign in to comment.