mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-11 08:48:06 +01:00
Modify to switch between cegcc and pocketpc-sdk, with pocketpc-sdk
choice commented out. cegcc builds it about 30% smaller, in line with what the older M$ tools could do.
This commit is contained in:
parent
7a2faeec61
commit
2649017752
1 changed files with 8 additions and 4 deletions
|
@ -27,13 +27,17 @@ MINGW_INC_PATH ?= /usr/i586-mingw32msvc/include
|
||||||
# This requires custom Debian pocketpc-sdk package at the moment
|
# This requires custom Debian pocketpc-sdk package at the moment
|
||||||
HAVE_COMMCTRL = 1
|
HAVE_COMMCTRL = 1
|
||||||
|
|
||||||
|
# arm-wince-mingw32ce for cegcc, arm-wince-pe for pocketpc-gcc
|
||||||
|
#ARCH = arm-wince-pe
|
||||||
|
ARCH = arm-wince-mingw32ce
|
||||||
ifeq ($(TARGET_OS),wince)
|
ifeq ($(TARGET_OS),wince)
|
||||||
# BLUETOOTH = -DXWFEATURE_BLUETOOTH
|
# BLUETOOTH = -DXWFEATURE_BLUETOOTH
|
||||||
# RELAY = -DXWFEATURE_RELAY -DCOMMS_HEARTBEAT
|
# RELAY = -DXWFEATURE_RELAY -DCOMMS_HEARTBEAT
|
||||||
CC = arm-wince-pe-gcc
|
CC = ${ARCH}-gcc
|
||||||
WINDRES = arm-wince-pe-windres
|
WINDRES = ${ARCH}-windres
|
||||||
STRIP = arm-wince-pe-strip
|
STRIP = ${ARCH}-strip
|
||||||
CELIBS = -L/usr/arm-wince-pe/lib
|
#CELIBS = -L/usr/arm-wince-pe/lib
|
||||||
|
CELIBS = -L${CEOPT_ROOT}/opt/${ARCH}/lib/ -lws2
|
||||||
TARGET_OS_DEF = -DTARGET_OS_WINCE
|
TARGET_OS_DEF = -DTARGET_OS_WINCE
|
||||||
STANDALONE = -DXWFEATURE_STANDALONE_ONLY
|
STANDALONE = -DXWFEATURE_STANDALONE_ONLY
|
||||||
CFLAGS += -D_WIN32_WCE=400 -DUNDER_CE -DMY_COLOR_SEL \
|
CFLAGS += -D_WIN32_WCE=400 -DUNDER_CE -DMY_COLOR_SEL \
|
||||||
|
|
Loading…
Add table
Reference in a new issue