mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-27 09:58:45 +01:00
Allow editing relay host and port in debug version
This commit is contained in:
parent
26469d734c
commit
65230143e4
1 changed files with 9 additions and 2 deletions
|
@ -56,7 +56,7 @@ HAVE_COMMCTRL = 1
|
|||
|
||||
ifeq ($(TARGET_OS),wince)
|
||||
#SMS = -DXWFEATURE_SMS
|
||||
RELAY = -DXWFEATURE_RELAY -DCOMMS_HEARTBEAT -DRELAY_NOEDIT_ADDR
|
||||
RELAY = -DXWFEATURE_RELAY -DCOMMS_HEARTBEAT
|
||||
# IPDIRECT = -DXWFEATURE_IP_DIRECT
|
||||
# BLUETOOTH = -DXWFEATURE_BLUETOOTH
|
||||
CC = ${CE_ARCH}-gcc
|
||||
|
@ -91,7 +91,7 @@ ifeq ($(TARGET_OS),win32)
|
|||
STANDALONE = -DPREV_WAS_STANDALONE_ONLY
|
||||
#BLUETOOTH = -DXWFEATURE_BLUETOOTH
|
||||
#SMS = -DXWFEATURE_SMS
|
||||
RELAY = -DXWFEATURE_RELAY -DRELAY_NOEDIT_ADDR
|
||||
RELAY = -DXWFEATURE_RELAY
|
||||
# IPDIRECT = -DXWFEATURE_IP_DIRECT
|
||||
CC = i586-mingw32msvc-gcc
|
||||
WINDRES = i586-mingw32msvc-windres
|
||||
|
@ -104,6 +104,13 @@ CFLAGS += -DCANT_DO_CMDBAR -DDRAW_LINK_DIRECT -DXWFEATURE_TURNCHANGENOTIFY
|
|||
endif
|
||||
endif
|
||||
|
||||
|
||||
ifdef RELAY
|
||||
ifneq ($(DEBUG),TRUE)
|
||||
RELAY += -DRELAY_NOEDIT_ADDR
|
||||
endif
|
||||
endif
|
||||
|
||||
# CFLAGS += -DFORCE_SCROLL=3
|
||||
CFLAGS += -DARM -I./ -I../common -I../relay
|
||||
|
||||
|
|
Loading…
Reference in a new issue