aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/ds/arm7/Makefile
diff options
context:
space:
mode:
authorNeil Millstone2006-11-03 23:16:29 +0000
committerNeil Millstone2006-11-03 23:16:29 +0000
commitea6663fdfa5f2b9d8351f9b06219d0dae1494a6c (patch)
tree76a1ca3e5f5672194133d3bdaabdb038275a0e57 /backends/platform/ds/arm7/Makefile
parentd5608e82edb4a73f6ab30a8db9a79dc16ed2ed9f (diff)
downloadscummvm-rg350-ea6663fdfa5f2b9d8351f9b06219d0dae1494a6c.tar.gz
scummvm-rg350-ea6663fdfa5f2b9d8351f9b06219d0dae1494a6c.tar.bz2
scummvm-rg350-ea6663fdfa5f2b9d8351f9b06219d0dae1494a6c.zip
Merging in changes made in branch for 0.9.1 release into trunk
svn-id: r24596
Diffstat (limited to 'backends/platform/ds/arm7/Makefile')
-rw-r--r--backends/platform/ds/arm7/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/backends/platform/ds/arm7/Makefile b/backends/platform/ds/arm7/Makefile
index d0498b069b..600842e812 100644
--- a/backends/platform/ds/arm7/Makefile
+++ b/backends/platform/ds/arm7/Makefile
@@ -12,6 +12,9 @@ TARGET := arm7
BUILD := build
SOURCES := gfx source data
INCLUDES := include build
+
+# Enable support for debugger (must be the same as in the arm9 makefile)
+USE_DEBUGGER = 1
#---------------------------------------------------------------------------------
# options for code generation
@@ -27,6 +30,11 @@ CFLAGS := -g -Wall -O2\
CFLAGS += $(INCLUDE) -DARM7
+ifdef USE_DEBUGGER
+ CFLAGS += -DUSE_DEBUGGER
+endif
+
+
CXXFLAGS := $(CFLAGS) -fno-exceptions -fno-rtti
ASFLAGS := -g $(ARCH)
LDFLAGS := -g $(ARCH) -mno-fpu
@@ -49,6 +57,10 @@ PREFIX := arm-eabi-
# any extra libraries we wish to link with the project
#---------------------------------------------------------------------------------
LIBS := -lnds7
+
+ifdef USE_DEBUGGER
+ LIBS += -ldswifi7
+endif
#---------------------------------------------------------------------------------