mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-15 15:41:24 +01:00
more work on pnolet
This commit is contained in:
parent
cfbc7d9f0a
commit
80654390c2
1 changed files with 13 additions and 8 deletions
|
@ -29,10 +29,7 @@ DICT = $(shell echo $$BASENG_PATH)
|
||||||
|
|
||||||
DEBUG_SET = APPID=Xwdb ICONTEXT=CrossDbg NAME="CrossDbg" DONT_OMIT=true
|
DEBUG_SET = APPID=Xwdb ICONTEXT=CrossDbg NAME="CrossDbg" DONT_OMIT=true
|
||||||
|
|
||||||
# BUILD_AS_PNOLET = 1
|
#BUILD_AS_PNOLET = 1
|
||||||
|
|
||||||
#OWNERNAME = "Eric House"
|
|
||||||
NO_REG_REQUIRED = -DNO_REG_REQUIRED
|
|
||||||
|
|
||||||
PALM_TOOLS_PREFIX = $(shell echo $$PALM_TOOLS_PREFIX)
|
PALM_TOOLS_PREFIX = $(shell echo $$PALM_TOOLS_PREFIX)
|
||||||
|
|
||||||
|
@ -56,8 +53,7 @@ endif
|
||||||
|
|
||||||
MYDEFINES = -DXW_FEATURE_UTILS -DPOINTER_SUPPORT -DKEY_SUPPORT \
|
MYDEFINES = -DXW_FEATURE_UTILS -DPOINTER_SUPPORT -DKEY_SUPPORT \
|
||||||
-DOVERRIDE_EDGE_FOR_INDEX -DCOLOR_SUPPORT \
|
-DOVERRIDE_EDGE_FOR_INDEX -DCOLOR_SUPPORT \
|
||||||
-DSHOW_PROGRESS \
|
-DSHOW_PROGRESS $(HASHDEF) -DNO_REG_REQUIRED
|
||||||
$(HASHDEF) $(NO_REG_REQUIRED)
|
|
||||||
|
|
||||||
# turn on the HighRes stuff. Experimental for now, but eventually
|
# turn on the HighRes stuff. Experimental for now, but eventually
|
||||||
# should always be on.
|
# should always be on.
|
||||||
|
@ -66,12 +62,18 @@ 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
|
||||||
|
|
||||||
|
ifneq (x$(BUILD_AS_PNOLET)x, xx)
|
||||||
|
MYDEFINES += -DXW_TARGET_PNO
|
||||||
|
endif
|
||||||
|
|
||||||
# turn on limits to searches on board and in tray (number of tiles to
|
# turn on limits to searches on board and in tray (number of tiles to
|
||||||
# use)
|
# use)
|
||||||
MYDEFINES += -DXWFEATURE_SEARCHLIMIT
|
MYDEFINES += -DXWFEATURE_SEARCHLIMIT
|
||||||
|
|
||||||
MYDEFINES += $(FEATURE_HIGHRES)
|
MYDEFINES += $(FEATURE_HIGHRES)
|
||||||
|
|
||||||
|
#MYDEFINES += -DXWFEATURE_HINT_CONFIG
|
||||||
|
|
||||||
# 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!
|
||||||
# MYDEFINES += -DBEYOND_IR
|
# MYDEFINES += -DBEYOND_IR
|
||||||
|
@ -235,8 +237,8 @@ $(FNAVS): ./fnavgen
|
||||||
ifneq (x$(BUILD_AS_PNOLET)x, xx)
|
ifneq (x$(BUILD_AS_PNOLET)x, xx)
|
||||||
.PHONY : pnolet
|
.PHONY : pnolet
|
||||||
|
|
||||||
pnolet:
|
pnolet: LocalizedStrIncludes.h
|
||||||
$(MAKE) -f Makefile.PNO
|
$(MAKE) -f Makefile.PNO MYDEFINES="$(MYDEFINES) -DAPPID=\'$(APPID)\' -DXW_TARGET_PNO -D__LITTLE_ENDIAN"
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# GDB seems confused by relative paths these days. So generate the
|
# GDB seems confused by relative paths these days. So generate the
|
||||||
|
@ -252,6 +254,9 @@ clean:
|
||||||
rm -rf $(PLATFORM)/*.[oa] xwords4 *.bin *.stamp *.[pg]rc \
|
rm -rf $(PLATFORM)/*.[oa] xwords4 *.bin *.stamp *.[pg]rc \
|
||||||
xwords4.rcp *.btxt $(PLATFORM)/* $(CODESEG) \
|
xwords4.rcp *.btxt $(PLATFORM)/* $(CODESEG) \
|
||||||
LocalizedStrIncludes.h gdbload
|
LocalizedStrIncludes.h gdbload
|
||||||
|
ifneq (x$(BUILD_AS_PNOLET)x, xx)
|
||||||
|
$(MAKE) -f Makefile.PNO clean
|
||||||
|
endif
|
||||||
|
|
||||||
#cmod03E8.bin: palmdraw.c Makefile
|
#cmod03E8.bin: palmdraw.c Makefile
|
||||||
# $(CC) -O2 -nostartfiles $(INCLUDES) $(MYDEFINES) -o tmp $<
|
# $(CC) -O2 -nostartfiles $(INCLUDES) $(MYDEFINES) -o tmp $<
|
||||||
|
|
Loading…
Reference in a new issue