xwords/xwords4/wince/shared.mk

47 lines
1,017 B
Makefile
Raw Normal View History

2003-11-20 17:26:35 +01:00
# -*- mode: Makefile; -*-
2005-02-11 03:48:13 +01:00
ifeq (x$(shell echo $$PPC_SDK_PPC)x,xx)
2003-11-20 17:26:35 +01:00
WINCE_PATH = "PLEASE DEFINE shell env variable WINCE_DEV_PATH"
2005-02-11 03:48:13 +01:00
include exit_right_now
2003-11-20 17:26:35 +01:00
else
2005-02-11 03:48:13 +01:00
WINCE_PATH = $(shell echo $$PPC_SDK_PPC)
2003-11-20 17:26:35 +01:00
endif
PLATOBJ = \
$(PLATFORM)/StdAfx.o \
$(PLATFORM)/ceaskpwd.o \
$(PLATFORM)/ceblank.o \
$(PLATFORM)/cedict.o \
$(PLATFORM)/cedraw.o \
$(PLATFORM)/ceginfo.o \
$(PLATFORM)/cecondlg.o \
2003-11-20 17:26:35 +01:00
$(PLATFORM)/cemain.o \
$(PLATFORM)/ceprefs.o \
$(PLATFORM)/cestrbx.o \
$(PLATFORM)/ceutil.o \
2005-02-11 03:48:13 +01:00
$(PLATFORM)/ceclrsel.o \
2005-07-30 04:04:29 +02:00
$(PLATFORM)/cesockwr.o \
2005-02-11 03:48:13 +01:00
$(PLATFORM)/cehntlim.o \
XW_BOTH_DEFINES = \
2005-09-07 14:32:29 +02:00
/DBEYOND_IR /DNODE_CAN_4 /DMY_COLOR_SEL \
2005-02-11 03:48:13 +01:00
/DCOLOR_SUPPORT /DFEATURE_TRAY_EDIT /DXWFEATURE_SEARCHLIMIT \
/DXWFEATURE_HINT_CONFIG \
/D POINTER_SUPPORT /D KEY_SUPPORT /D __LITTLE_ENDIAN \
2005-06-13 15:24:15 +02:00
/DCEFEATURE_CANSCROLL \
2005-02-11 03:48:13 +01:00
$(DEBUG) $(MEM_DEBUG) \
2003-11-20 17:26:35 +01:00
XW_C_DEFINES = \
2005-02-11 03:48:13 +01:00
$(XW_BOTH_DEFINES) \
2003-11-20 17:26:35 +01:00
XW_RES_DEFINES = \
2005-02-11 03:48:13 +01:00
$(XW_BOTH_DEFINES)
2003-11-20 17:26:35 +01:00
all: $(TARGET)
debug:
$(MAKE) DEBUG="/DDEBUG"
memdebug:
$(MAKE) DEBUG="/DDEBUG" MEM_DEBUG="/DMEM_DEBUG"