mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-18 22:26:30 +01:00
separate indexeddb filesystems for dbg and rel
This commit is contained in:
parent
ef673d8df0
commit
598565836d
2 changed files with 3 additions and 1 deletions
|
@ -53,10 +53,13 @@ DEFINES += -DGITREV=\"$(shell git describe --tags --dirty)\"
|
||||||
ifeq ($(MEMDEBUG),TRUE)
|
ifeq ($(MEMDEBUG),TRUE)
|
||||||
DEFINES += -DMEM_DEBUG -DDEBUG -O0
|
DEFINES += -DMEM_DEBUG -DDEBUG -O0
|
||||||
WEBDIR = dbg
|
WEBDIR = dbg
|
||||||
|
ROOT_PATH = "/persisted0.3"
|
||||||
else
|
else
|
||||||
DEFINES += -O3
|
DEFINES += -O3
|
||||||
WEBDIR = rel
|
WEBDIR = rel
|
||||||
|
ROOT_PATH = "/persisted_rel0.0"
|
||||||
endif
|
endif
|
||||||
|
DEFINES += -DROOT_PATH=\"$(ROOT_PATH)\"
|
||||||
|
|
||||||
OUTPUTS = main.html main.js main.js.mem main.data main.html.mem main.wasm
|
OUTPUTS = main.html main.js main.js.mem main.data main.html.mem main.wasm
|
||||||
|
|
||||||
|
|
|
@ -82,7 +82,6 @@ typedef struct Globals {
|
||||||
#define CAST_GS(typ, var, ptr) XP_ASSERT(((typ)(ptr))->_GUARD == GUARD_GS); typ var = (typ)(ptr)
|
#define CAST_GS(typ, var, ptr) XP_ASSERT(((typ)(ptr))->_GUARD == GUARD_GS); typ var = (typ)(ptr)
|
||||||
|
|
||||||
#define KEY_DICTS "dicts"
|
#define KEY_DICTS "dicts"
|
||||||
#define ROOT_PATH "/persisted0.3"
|
|
||||||
|
|
||||||
void main_set_timer( GameState* gs, XWTimerReason why, XP_U16 when,
|
void main_set_timer( GameState* gs, XWTimerReason why, XP_U16 when,
|
||||||
XWTimerProc proc, void* closure );
|
XWTimerProc proc, void* closure );
|
||||||
|
|
Loading…
Reference in a new issue