Skip to content

Commit 3095c3b

Browse files
committed
fixed:make build file ext name
1 parent 5c3716f commit 3095c3b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

XEngine_Source/Makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ MODULE_PROTOCOL_PATH = ./XEngine_ModuleProtocol
1111
MODULE_SESSION_PATH = ./XEngine_ModuleSession
1212
APP_SERVICE_PATH = ./XEngine_ServiceApp
1313

14+
ifeq ($(PLATFORM),linux)
15+
FILEEXT = so
16+
else ifeq ($(PLATFORM),mac)
17+
FILEEXT = dylib
18+
endif
19+
1420
XENGINE_MODULES = libjsoncpp.so libXEngine_InfoReport.so \
1521
libXEngine_ModuleConfigure.so libXEngine_ModuleProtocol.so libXEngine_ModuleSession.so \
1622
XEngine_ServiceApp.exe

0 commit comments

Comments
 (0)