mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-29 08:34:37 +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
3532f7fa61
commit
a05138790c
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
|
||||
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)
|
||||
# BLUETOOTH = -DXWFEATURE_BLUETOOTH
|
||||
# RELAY = -DXWFEATURE_RELAY -DCOMMS_HEARTBEAT
|
||||
CC = arm-wince-pe-gcc
|
||||
WINDRES = arm-wince-pe-windres
|
||||
STRIP = arm-wince-pe-strip
|
||||
CELIBS = -L/usr/arm-wince-pe/lib
|
||||
CC = ${ARCH}-gcc
|
||||
WINDRES = ${ARCH}-windres
|
||||
STRIP = ${ARCH}-strip
|
||||
#CELIBS = -L/usr/arm-wince-pe/lib
|
||||
CELIBS = -L${CEOPT_ROOT}/opt/${ARCH}/lib/ -lws2
|
||||
TARGET_OS_DEF = -DTARGET_OS_WINCE
|
||||
STANDALONE = -DXWFEATURE_STANDALONE_ONLY
|
||||
CFLAGS += -D_WIN32_WCE=400 -DUNDER_CE -DMY_COLOR_SEL \
|
||||
|
|
Loading…
Add table
Reference in a new issue