aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorMarcus Comstedt2009-03-18 23:38:25 +0000
committerMarcus Comstedt2009-03-18 23:38:25 +0000
commit114d9f211cd37245cb3257c9e0ebb147c4db1a19 (patch)
tree8cf12a4dab957da5e155decc51cf316fe0f2b698 /backends
parentf32fd48930db015f123a67a5d99628f412f1750a (diff)
downloadscummvm-rg350-114d9f211cd37245cb3257c9e0ebb147c4db1a19.tar.gz
scummvm-rg350-114d9f211cd37245cb3257c9e0ebb147c4db1a19.tar.bz2
scummvm-rg350-114d9f211cd37245cb3257c9e0ebb147c4db1a19.zip
Initial support for building the Dreamcast port using the configure
script. Dynamic modules are not supported just yet. svn-id: r39524
Diffstat (limited to 'backends')
-rw-r--r--backends/platform/dc/dreamcast.mk15
-rw-r--r--backends/platform/dc/module.mk10
2 files changed, 25 insertions, 0 deletions
diff --git a/backends/platform/dc/dreamcast.mk b/backends/platform/dc/dreamcast.mk
new file mode 100644
index 0000000000..dbf1e8b701
--- /dev/null
+++ b/backends/platform/dc/dreamcast.mk
@@ -0,0 +1,15 @@
+# $URL$
+# $Id$
+
+ronindir = /usr/local/ronin
+
+CC := $(CXX)
+ASFLAGS := $(CXXFLAGS)
+
+SCUMMVM.BIN : scummvm.bin
+ scramble $< $@
+
+scummvm.bin : scummvm.elf
+ sh-elf-objcopy -S -R .stack -O binary $< $@
+
+
diff --git a/backends/platform/dc/module.mk b/backends/platform/dc/module.mk
new file mode 100644
index 0000000000..eecb91909c
--- /dev/null
+++ b/backends/platform/dc/module.mk
@@ -0,0 +1,10 @@
+MODULE := backends/platform/dc
+
+MODULE_OBJS := dcmain.o time.o display.o audio.o input.o selector.o icon.o \
+ label.o vmsave.o softkbd.o dcloader.o cache.o dc-fs.o
+
+MODULE_DIRS += \
+ backends/platform/dc/
+
+# We don't use the rules.mk here on purpose
+OBJS := $(addprefix $(MODULE)/, $(MODULE_OBJS)) $(OBJS)