1 TARGET
= libCTServiceGameAPI.a
5 Base
/linux
/Platform.o \
7 TcpLibrary
/IPAddress.o \
8 TcpLibrary
/TcpBlockAllocator.o \
9 TcpLibrary
/TcpConnection.o \
10 TcpLibrary
/TcpManager.o \
11 Unicode
/FirstUnicode.o \
13 Unicode
/UnicodeBlocks.o \
14 Unicode
/UnicodeCharacterData.o \
15 Unicode
/UnicodeCharacterDataMap.o \
16 Unicode
/UnicodeUtils.o \
17 CTCommon
/CTServiceCharacter.o \
18 CTCommon
/CTServiceServer.o \
19 CTGenericAPI
/GenericApiCore.o \
20 CTGenericAPI
/GenericConnection.o \
21 CTGenericAPI
/GenericMessage.o \
27 INCLUDE_DIRS
= . ..
/..
/stlport453
/stlport
28 CFLAGS_USER
=-DEXTERNAL_DISTRO
-DNAMESPACE
=CTService
-DUSE_TCP_LIBRARY
30 # # # # # # # # # # # # # # # # # # # # #
33 SPACE_CHAR
=$(empty
) $(empty
)
36 # # # # # # # # # # # # # # # # # # # # #
38 INCLUDE_DIR_LIST
=$(subst $(COLON_CHAR
),$(SPACE_CHAR
),$(INCLUDE_PATH
)) $(INCLUDE_DIRS
)
39 INCLUDE_FLAGS
=$(addprefix -I
,$(INCLUDE_DIR_LIST
))
40 CFLAGS_DEBUG
=$(INCLUDE_FLAGS
) -D_DEBUG
-g
41 CFLAGS_RELEASE
=$(INCLUDE_FLAGS
) -DNDEBUG
-O2
42 #CFLAGS=$(CFLAGS_DEBUG) $(CFLAGS_USER) -D_GNU_SOURCE -Wall -Wno-unknown-pragmas
43 CFLAGS
=$(CFLAGS_RELEASE
) -D_GNU_SOURCE
-Wall
-Wno-unknown-pragmas
50 ld -r
$(OBJS
) -o
$(TARGET
)
57 g
++ $(CFLAGS
) -c
$< -o
$*.o
60 gcc
$(CFLAGS
) -c
$< -o
$*.o