mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-15 15:41:24 +01:00
include sony headers; make debug version of separate type so can
co-exist with non-debug on device.
This commit is contained in:
parent
7008125ec7
commit
2aff6e242a
1 changed files with 16 additions and 6 deletions
|
@ -27,6 +27,9 @@ APPID ?= Xwr4
|
||||||
MLPREFIX = /usr
|
MLPREFIX = /usr
|
||||||
DICT = $(shell echo $$BASENG_PATH)
|
DICT = $(shell echo $$BASENG_PATH)
|
||||||
|
|
||||||
|
DEBUG_SET = APPID=Xwdb ICONTEXT=CrossDbg NAME="CrossDbg" DONT_OMIT=true
|
||||||
|
|
||||||
|
|
||||||
#OWNERNAME = "Eric House"
|
#OWNERNAME = "Eric House"
|
||||||
NO_REG_REQUIRED = -DNO_REG_REQUIRED
|
NO_REG_REQUIRED = -DNO_REG_REQUIRED
|
||||||
|
|
||||||
|
@ -55,12 +58,14 @@ MYDEFINES = -DXW_FEATURE_UTILS -DPOINTER_SUPPORT -DKEY_SUPPORT \
|
||||||
-DSHOW_PROGRESS \
|
-DSHOW_PROGRESS \
|
||||||
$(HASHDEF) $(NO_REG_REQUIRED)
|
$(HASHDEF) $(NO_REG_REQUIRED)
|
||||||
|
|
||||||
|
# turn on the HighRes stuff. Experimental for now, but eventually
|
||||||
|
# should always be on.
|
||||||
|
#FEATURE_HIGHRES = -DFEATURE_HIGHRES
|
||||||
|
|
||||||
# turn on letting users pick tiles "face-up"
|
# turn on letting users pick tiles "face-up"
|
||||||
MYDEFINES += -DFEATURE_TRAY_EDIT
|
MYDEFINES += -DFEATURE_TRAY_EDIT
|
||||||
|
|
||||||
# turn on the HighRes stuff. Experimental for now, but eventually
|
MYDEFINES += $(FEATURE_HIGHRES)
|
||||||
# should always be on.
|
|
||||||
#MYDEFINES += -DFEATURE_HIGHRES
|
|
||||||
|
|
||||||
# Turn on network play over IP via cellular modem. Very much
|
# Turn on network play over IP via cellular modem. Very much
|
||||||
# experimental at this point!
|
# experimental at this point!
|
||||||
|
@ -110,6 +115,12 @@ ifneq (x$(HS_DUO_SUPPORT)x, xx)
|
||||||
FNAVS = ./fnav03e9.bin
|
FNAVS = ./fnav03e9.bin
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifneq (x$(FEATURE_HIGHRES)x, xx)
|
||||||
|
INCLUDES += -I/usr/local/share/palmdev/sdk-5r3/include/SonyIncs
|
||||||
|
INCLUDES += -I/usr/local/share/palmdev/sdk-5r3/include/SonyIncs/System
|
||||||
|
INCLUDES += -I/usr/local/share/palmdev/sdk-5r3/include/SonyIncs/Libraries
|
||||||
|
MYDEFINES += -DCPU_TYPE=CPU_68K
|
||||||
|
endif
|
||||||
|
|
||||||
CSFLAGS = -O2 -g -S -Wall -DAPPID=\'$(APPID)\' $(DEFINES) $(INCLUDES)
|
CSFLAGS = -O2 -g -S -Wall -DAPPID=\'$(APPID)\' $(DEFINES) $(INCLUDES)
|
||||||
#CFLAGS = -O2 -g -Wall -DAPPID=\'$(APPID)\' $(DEFINES) $(INCLUDES) -palmos3.5
|
#CFLAGS = -O2 -g -Wall -DAPPID=\'$(APPID)\' $(DEFINES) $(INCLUDES) -palmos3.5
|
||||||
|
@ -154,11 +165,10 @@ solo:
|
||||||
$(MAKE) XWFEATURE_STANDALONE_ONLY=1
|
$(MAKE) XWFEATURE_STANDALONE_ONLY=1
|
||||||
|
|
||||||
debug:
|
debug:
|
||||||
$(MAKE) MYDEFINES="$(MYDEFINES) -DDEBUG" DONT_OMIT=true
|
$(MAKE) MYDEFINES="$(MYDEFINES) -DDEBUG" $(DEBUG_SET)
|
||||||
|
|
||||||
memdebug:
|
memdebug:
|
||||||
$(MAKE) MYDEFINES="$(MYDEFINES) -DDEBUG -DMEM_DEBUG" DONT_OMIT=true \
|
$(MAKE) MYDEFINES="$(MYDEFINES) -DDEBUG -DMEM_DEBUG" $(DEBUG_SET)
|
||||||
APPID=Xwdb ICONTEXT=CrossDbg NAME="CrossDbg"
|
|
||||||
|
|
||||||
gremlins:
|
gremlins:
|
||||||
$(MAKE) MYDEFINES="$(MYDEFINES) -DDEBUG -DMEM_DEBUG -DFOR_GREMLINS" DONT_OMIT=true
|
$(MAKE) MYDEFINES="$(MYDEFINES) -DDEBUG -DMEM_DEBUG -DFOR_GREMLINS" DONT_OMIT=true
|
||||||
|
|
Loading…
Reference in a new issue