aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backends/platform/ds/ds.mk12
1 files changed, 10 insertions, 2 deletions
diff --git a/backends/platform/ds/ds.mk b/backends/platform/ds/ds.mk
index 9df0d2ba0d..d7c7defa3d 100644
--- a/backends/platform/ds/ds.mk
+++ b/backends/platform/ds/ds.mk
@@ -92,9 +92,17 @@ OPT_SIZE := -Os -mthumb
all: scummvm.nds scummvm.ds.gba
+clean: dsclean
+
+dsclean:
+ $(RM) scummvm.nds scummvm.ds.gba
+
+.PHONY: dsclean
+
+# TODO: Add a 'dsdist' target ?
+
%.bin: %.elf
- $(OBJCOPY) -S $< $(<F)-stripped.elf
- $(OBJCOPY) -O binary $(<F)-stripped.elf $@
+ $(OBJCOPY) -S -O binary $< $@
%.nds: %.bin $(ndsdir)/arm7/arm7.bin
ndstool -c $@ -9 $< -7 $(ndsdir)/arm7/arm7.bin -b $(srcdir)/$(ndsdir)/$(LOGO) "$(@F);ScummVM $(VERSION);DS Port"