mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-29 08:34:37 +01:00
relay name defaults to eehouse.org, easier to set at compile time for testing
This commit is contained in:
parent
8e31a3c5cb
commit
bcc4783fee
1 changed files with 5 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
||||||
# -*- compile-command: "make TARGET_OS=wince DEBUG=TRUE"; -*-
|
# -*- compile-command: "make TARGET_OS=wince DEBUG=TRUE RELAY_NAME_DEFAULT=localhost"; -*-
|
||||||
# Copyright 2002-2009 by Eric House (xwords@eehouse.org). All rights
|
# Copyright 2002-2009 by Eric House (xwords@eehouse.org). All rights
|
||||||
# reserved.
|
# reserved.
|
||||||
|
|
||||||
|
@ -22,6 +22,7 @@ SVNREV = $(shell svnversion -n .. | tr ':' '_')
|
||||||
PLATFORM = wince
|
PLATFORM = wince
|
||||||
|
|
||||||
TARGET_OS ?= win32
|
TARGET_OS ?= win32
|
||||||
|
RELAY_NAME_DEFAULT ?= eehouse.org
|
||||||
#TARGET_OS = wince
|
#TARGET_OS = wince
|
||||||
#NO_DRAW = -DNO_DRAW
|
#NO_DRAW = -DNO_DRAW
|
||||||
|
|
||||||
|
@ -116,9 +117,9 @@ CFLAGS += -DPERIMETER_FOCUS
|
||||||
|
|
||||||
# Hack until figure out how to turn off IME (12-key-to-text) on CE.
|
# Hack until figure out how to turn off IME (12-key-to-text) on CE.
|
||||||
CFLAGS += -DNUMBER_KEY_AS_INDEX
|
CFLAGS += -DNUMBER_KEY_AS_INDEX
|
||||||
|
ifdef RELAY_NAME_DEFAULT
|
||||||
#CFLAGS += -DRELAY_NAME_DEFAULT=\"localhost\"
|
CFLAGS += -DRELAY_NAME_DEFAULT=\"$(RELAY_NAME_DEFAULT)\"
|
||||||
|
endif
|
||||||
# This is normally part of MEM_DEBUG, but sometimes we want logging in
|
# This is normally part of MEM_DEBUG, but sometimes we want logging in
|
||||||
# a release build, e.g. to figure out why opening a saved game isn't
|
# a release build, e.g. to figure out why opening a saved game isn't
|
||||||
# working. So normally it's commented out here.
|
# working. So normally it's commented out here.
|
||||||
|
|
Loading…
Add table
Reference in a new issue