From 5516fa3b80cd0d1b14ed933a5320f09d9a80e412 Mon Sep 17 00:00:00 2001 From: Neil Millstone Date: Sat, 19 Aug 2006 11:10:19 +0000 Subject: Added build C target to support more engines. svn-id: r23725 --- backends/platform/ds/arm9/makefile | 42 ++++++++++++++++++++++++++++++-------- 1 file 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;" -- cgit v1.2.3