mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-03 23:04:08 +01:00
de98a70b9f
Staring to hack stuff: I need an alert mechanism already to confirm a move.
33 lines
952 B
Makefile
33 lines
952 B
Makefile
|
|
include ../common/config.mk
|
|
|
|
INPUTS = main.c wasmdict.c wasmutls.c wasmdraw.c wasmutil.c wasmdutil.c ${COMMONSRC}
|
|
|
|
DEFINES += -DMEM_DEBUG -DDEBUG
|
|
DEFINES += -DXWFEATURE_CHAT
|
|
DEFINES += -DXWFEATURE_BONUSALL
|
|
DEFINES += -DMAX_ROWS=32
|
|
DEFINES += -DCOMMON_LAYOUT
|
|
DEFINES += -DDROP_BITMAPS
|
|
DEFINES += -D__LITTLE_ENDIAN
|
|
DEFINES += -DXWFEATURE_RELAY
|
|
DEFINES += -DXWFEATURE_DEVID
|
|
DEFINES += -D__WORDSIZE=32
|
|
DEFINES += -DCOMMS_CHECKSUM
|
|
DEFINES += -DENABLE_LOGGING
|
|
DEFINES += -DKEYBOARD_NAV
|
|
DEFINES += -DDISABLE_TILE_SEL
|
|
DEFINES += -DKEY_SUPPORT
|
|
DEFINES += -DSTREAM_VERS_HASHSTREAM
|
|
DEFINES += -DXWFEATURE_KNOWNPLAYERS
|
|
DEFINES += -DXWFEATURE_DICTSANITY
|
|
DEFINES += -DPOINTER_SUPPORT
|
|
|
|
all: main.html
|
|
|
|
main.html: ${INPUTS} Makefile
|
|
emcc $(DEFINES) -I . -I ../common -I ../relay -s USE_SDL=2 \
|
|
--preload-file assets_dir \
|
|
-s USE_SDL_TTF=2 -s USE_SDL_IMAGE=2 -s SDL2_IMAGE_FORMATS='["png"]' \
|
|
${INPUTS} -o $@
|
|
scp main.html main.js main.wasm main.data pi4:/tmp
|