From 378d02f1f539ce4080caf4a2a817b5e1a574aaa1 Mon Sep 17 00:00:00 2001 From: ehouse Date: Sun, 27 Dec 2009 19:03:17 +0000 Subject: [PATCH] Don't enable COMMS_HEARTBEAT for wince either; copy .cab file to www path if shell variable set. --- xwords4/wince/Makefile | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/xwords4/wince/Makefile b/xwords4/wince/Makefile index 259da7331..4cdadd9ab 100644 --- a/xwords4/wince/Makefile +++ b/xwords4/wince/Makefile @@ -56,7 +56,8 @@ HAVE_COMMCTRL = 1 ifeq ($(TARGET_OS),wince) #SMS = -DXWFEATURE_SMS -RELAY = -DXWFEATURE_RELAY -DCOMMS_HEARTBEAT +RELAY = -DXWFEATURE_RELAY +#RELAY = -DXWFEATURE_RELAY -DCOMMS_HEARTBEAT # IPDIRECT = -DXWFEATURE_IP_DIRECT # BLUETOOTH = -DXWFEATURE_BLUETOOTH CC = ${CE_ARCH}-gcc @@ -275,9 +276,15 @@ bmps/%.bmp: bmps/%.pgm CAB: $(TARGET) $(DLLS) $(STRIP) $< - (cd $(BUILTDIR); PATH=../../scripts:$$PATH exe2cab.pl $(notdir $<)) + (cd $(BUILTDIR); \ + PATH=../../scripts:$$PATH exe2cab.pl $(notdir $<); \ + [ -n "$$XW_WWW_PATH" ] && cp $(subst exe,cab,$(notdir $<)) \ + $$XW_WWW_PATH \ + ) for DLL in $(notdir $(DLLS)); do \ - (cd $(BUILTDIR); PATH=../../scripts:$$PATH dll2cab.pl $$DLL); \ + (cd $(BUILTDIR); PATH=../../scripts:$$PATH dll2cab.pl $$DLL; \ + [ -n "$$XW_WWW_PATH" ] && cp $$DLL $$XW_WWW_PATH; \ + ); \ done SHIP: $(TARGET)