aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/wince/Makefile
diff options
context:
space:
mode:
authorKostas Nakos2007-04-09 19:41:30 +0000
committerKostas Nakos2007-04-09 19:41:30 +0000
commitc909ae47f69bea2da63c4fc91bd2087382ff18aa (patch)
treebac775db6c34f8951952e7b70d0f2da0f98dbf7e /backends/platform/wince/Makefile
parent4bf26957aa41cf3bb30bfcd2727381f4c3cc89c9 (diff)
downloadscummvm-rg350-c909ae47f69bea2da63c4fc91bd2087382ff18aa.tar.gz
scummvm-rg350-c909ae47f69bea2da63c4fc91bd2087382ff18aa.tar.bz2
scummvm-rg350-c909ae47f69bea2da63c4fc91bd2087382ff18aa.zip
applied patch 1696852: ARM 4/1 scaler by Robin Watts
svn-id: r26442
Diffstat (limited to 'backends/platform/wince/Makefile')
-rw-r--r--backends/platform/wince/Makefile42
1 files changed, 23 insertions, 19 deletions
diff --git a/backends/platform/wince/Makefile b/backends/platform/wince/Makefile
index 1ec8990ee5..1d08073b1d 100644
--- a/backends/platform/wince/Makefile
+++ b/backends/platform/wince/Makefile
@@ -7,20 +7,21 @@ srcdir = ../../..
VPATH = $(srcdir)
#DISABLE_SCUMM = 1
-DISABLE_SKY = 1
-DISABLE_QUEEN = 1
-DISABLE_GOB = 1
-DISABLE_LURE = 1
-DISABLE_CINE = 1
-DISABLE_SAGA = 1
-DISABLE_KYRA = 1
-DISABLE_AGI = 1
-DISABLE_AGOS = 1
-DISABLE_SWORD1 = 1
-DISABLE_SWORD2 = 1
-DISABLE_TOUCHE = 1
+#DISABLE_SKY = 1
+#DISABLE_QUEEN = 1
+#DISABLE_GOB = 1
+#DISABLE_LURE = 1
+#DISABLE_CINE = 1
+#DISABLE_SAGA = 1
+#DISABLE_KYRA = 1
+#DISABLE_AGI = 1
+#DISABLE_AGOS = 1
+#DISABLE_SWORD1 = 1
+#DISABLE_SWORD2 = 1
+#DISABLE_TOUCHE = 1
DISABLE_PARALLACTION = 1
+DISABLE_HQ_SCALERS = 1
CXX = arm-wince-pe-g++
LD = arm-wince-pe-g++
@@ -33,20 +34,20 @@ RM = rm -f
RM_REC = rm -rf
ECHO = echo -n
CAT = cat
-
+AS = arm-wince-pe-as
DEFINES := -D_WIN32_WCE=300 -DARM -D__ARM__ -D_ARM_ -DUNICODE -DSCUMM_NEED_ALIGNMENT -DFPM_DEFAULT -DUSE_MAD -DNONSTANDARD_PORT -DUSE_TREMOR -DUSE_VORBIS -DUSE_MPEG2 -DWIN32 -DUSE_ZLIB
DEFINES += -D__stdcall= -Dcdecl= -D__cdecl__= -D__cdecl= -Wno-multichar
-#DEFINES += -O2
-DEFINES += -DDEBUG -DUSE_WINDBG -g
+#DEFINES += -DDEBUG -DUSE_WINDBG -g
+DEFINES += -O2
-INCLUDES := -I$(srcdir) -I. -I$(srcdir)/engines -Ilibs/include -Ilibs/include/sdl -ICEgui -ICEkeys
+INCLUDES := -I$(srcdir) -I. -I$(srcdir)/engines -Imissing/gcc -Ilibs/include -Ilibs/include/sdl -ICEgui -ICEkeys -I/cygdrive/e/wince-gcc-root/include
CFLAGS :=
CXXFLAGS := $(CFLAGS)
-LDFLAGS := -Llibs/lib -L/usr/local/wince/cross-tools/lib
+LDFLAGS := -Llibs/lib -L/cygdrive/e/wince-gcc-root/lib
LIBS := -lSDL -lzlib -lmad -lmpeg2 -ltremorce --entry WinMainCRTStartup
TARGET = scummvm.exe
@@ -62,18 +63,21 @@ OBJS += CEkeys/EventsBuffer.o
OBJS += $(srcdir)/gui/Actions.o $(srcdir)/gui/Key.o $(srcdir)/gui/KeysDialog.o
OBJS += ../sdl/sdl.o ../sdl/graphics.o ../sdl/events.o
OBJS += missing/missing.o
-OBJS += PocketSCUMM.o
+OBJS += PocketSCUMM.o ARMscaler.o
include $(srcdir)/Makefile.common
all: dist
dist: $(TARGET)
- bzip2 -fvk $(TARGET)
+# bzip2 -fvk $(TARGET)
$(STRIP) $(TARGET)
PocketSCUMM.o:
$(WINDRES) $*.rc $@
+ARMscaler.o:
+ $(AS) $*.s -o $@
+
$(TARGET): $(OBJS)
$(LD) $^ $(LDFLAGS) $(LIBS) -o $@ -Wl,-Map,scummvm.exe.map -Wl,--stack,65536