aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorNeil Millstone2006-08-19 11:10:19 +0000
committerNeil Millstone2006-08-19 11:10:19 +0000
commit5516fa3b80cd0d1b14ed933a5320f09d9a80e412 (patch)
treee68fda412dfe4cb5e50cff07b560ae488c3f3282 /backends
parentd253442c42405f67bf61db60d9f5d490e12ff025 (diff)
downloadscummvm-rg350-5516fa3b80cd0d1b14ed933a5320f09d9a80e412.tar.gz
scummvm-rg350-5516fa3b80cd0d1b14ed933a5320f09d9a80e412.tar.bz2
scummvm-rg350-5516fa3b80cd0d1b14ed933a5320f09d9a80e412.zip
Added build C target to support more engines.
svn-id: r23725
Diffstat (limited to 'backends')
-rw-r--r--backends/platform/ds/arm9/makefile42
1 files changed, 33 insertions, 9 deletions
diff --git a/backends/platform/ds/arm9/makefile b/backends/platform/ds/arm9/makefile
index a435077302..1e7768fd36 100644
--- a/backends/platform/ds/arm9/makefile
+++ b/backends/platform/ds/arm9/makefile
@@ -1,24 +1,47 @@
#BUILD_PLUGINS = 1
libndsdir = $(DEVKITPRO)/libnds
-DS_SCUMM_BUILD = 1
+#DS_BUILD_A = 1
+#DS_BUILD_B = 1
+DS_BUILD_C = 1
+#DS_SCUMM_BUILD = 1
#DS_NON_SCUMM_BUILD = 1
-USE_MAD = 1
+#USE_MAD = 1
VPATH = $(srcdir)
# Command to build libmad is:
# ./configure --host=arm-elf --enable-speed --enable-sso -enable-fpm=arm CFLAGS='-specs=ds_arm9.specs -mthumb-interwork'
-ifdef DS_NON_SCUMM_BUILD
+
+ifdef DS_BUILD_A
+ DEFINES = -DDS_SCUMM_BUILD
+ DISABLE_HE = 1
+ #DISABLE_SCUMM = 1
+ DISABLE_SCUMM_7_8 = 1
+ DISABLE_SIMON = 1
+ DISABLE_SKY = 1
+ DISABLE_SWORD1 = 1
+ DISABLE_SWORD2 = 1
+ DISABLE_QUEEN = 1
+ DISABLE_SAGA = 1
+ DISABLE_KYRA = 1
+ DISABLE_GOB = 1
+ DISABLE_LURE = 1
+ DISABLE_CINE = 1
+ DISABLE_AGI = 1
+ BUILD=scummvm-A
+endif
+
+ifdef DS_BUILD_B
DEFINES = -DDS_NON_SCUMM_BUILD
DISABLE_HE = 1
DISABLE_SCUMM = 1
DISABLE_SCUMM_7_8 = 1
#DISABLE_SIMON = 1
- #DISABLE_SKY = 1
+ DISABLE_SKY = 1
DISABLE_SWORD1 = 1
DISABLE_SWORD2 = 1
#DISABLE_QUEEN = 1
@@ -31,25 +54,26 @@ ifdef DS_NON_SCUMM_BUILD
BUILD=scummvm-B
endif
-ifdef DS_SCUMM_BUILD
- DEFINES = -DDS_SCUMM_BUILD
+ifdef DS_BUILD_C
+ DEFINES = -DDS_NON_SCUMM_BUILD
DISABLE_HE = 1
- #DISABLE_SCUMM = 1
+ DISABLE_SCUMM = 1
DISABLE_SCUMM_7_8 = 1
DISABLE_SIMON = 1
DISABLE_SKY = 1
DISABLE_SWORD1 = 1
DISABLE_SWORD2 = 1
DISABLE_QUEEN = 1
- DISABLE_SAGA = 1
+ #DISABLE_SAGA = 1
DISABLE_KYRA = 1
DISABLE_GOB = 1
DISABLE_LURE = 1
DISABLE_CINE = 1
DISABLE_AGI = 1
- BUILD=scummvm-A
+ BUILD=scummvm-C
endif
+
ARM7BIN := -7 $(CURDIR)/../../arm7/arm7.bin
ICON := -b ../../../logo.bmp "ScummVM;By Neil Millstone;"