Skip to content

Commit a185e00

Browse files
committed
fixed:build error on mac and linux
1 parent 1557093 commit a185e00

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

XEngine_Source/Makefile

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,6 @@ UNICODE = 0
33
#编译的选项参数
44
FLAGS = RELEASE=$(RELEASE)
55

6-
ifeq ($(PLATFORM),linux)
7-
FILEEXT = so
8-
else ifeq ($(PLATFORM),mac)
9-
FILEEXT = dylib
10-
endif
116
#要编译的模块
127
THIRDPART_MODULE_JSONCPP = ./XEngine_Depend/XEngine_Module/jsoncpp
138
THIRDPART_MODULE_REPORT = ./XEngine_Depend/XEngine_Module/XEngine_InfoReport
@@ -21,6 +16,12 @@ APP_HTTP2_PATH = ./XEngine_ServiceApp/XEngine_HTTP2App
2116
APP_WEBSOCKET_PATH = ./XEngine_ServiceApp/XEngine_WebSocketApp
2217
APP_SIMPLE_PATH = ./XEngine_ServiceApp/XEngine_SimpleApp
2318

19+
ifeq ($(PLATFORM),linux)
20+
FILEEXT = so
21+
else ifeq ($(PLATFORM),mac)
22+
FILEEXT = dylib
23+
endif
24+
2425
XENGINE_MODULES = libjsoncpp.so libXEngine_InfoReport.so \
2526
libXEngine_ModuleConfigure.so libXEngine_ModuleDatabase.so libXEngine_ModuleProtocol.so \
2627
XEngine_CenterApp.exe XEngine_HttpApp.exe XEngine_Http2App.exe XEngine_WebSocketApp.exe XEngine_SimpleApp.exe

0 commit comments

Comments
 (0)