aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
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)