aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorMarcus Comstedt2016-10-22 13:19:19 +0200
committerMarcus Comstedt2016-10-22 13:46:58 +0200
commitcd6f1e3f245e137573b893bb49ad35db697de789 (patch)
treee65cc426d2bf20c04e09e0437e07ea4a8e082719 /backends
parentbb2ec760f17f9f46608ec00086694321b74d4f5e (diff)
downloadscummvm-rg350-cd6f1e3f245e137573b893bb49ad35db697de789.tar.gz
scummvm-rg350-cd6f1e3f245e137573b893bb49ad35db697de789.tar.bz2
scummvm-rg350-cd6f1e3f245e137573b893bb49ad35db697de789.zip
DC: Add Dreamcast specific clean target
Diffstat (limited to 'backends')
-rw-r--r--backends/platform/dc/dreamcast.mk9
1 files changed, 9 insertions, 0 deletions
diff --git a/backends/platform/dc/dreamcast.mk b/backends/platform/dc/dreamcast.mk
index 9d8a53e25a..98b5bae087 100644
--- a/backends/platform/dc/dreamcast.mk
+++ b/backends/platform/dc/dreamcast.mk
@@ -6,6 +6,8 @@ ASFLAGS := $(CXXFLAGS)
dist : SCUMMVM.BIN IP.BIN plugin_dist
+clean : dcclean
+
plugin_dist : plugins
@[ -z "$(PLUGINS)" ] || for p in $(or $(PLUGINS),none); do \
t="`basename \"$$p\" | LC_CTYPE=C tr '[:lower:]' '[:upper:]'`"; \
@@ -37,3 +39,10 @@ ip.txt : $(srcdir)/backends/platform/dc/ip.txt.in
dcdist : dist
mkdir -p dcdist/scummvm
cp scummvm.elf SCUMMVM.BIN IP.BIN *.PLG dcdist/scummvm/
+
+dcclean :
+ $(RM) backends/platform/dc/plugin_head.o
+ $(RM) scummvm.bin SCUMMVM.BIN ip.txt IP.BIN *.PLG
+ $(RM_REC) dcdist
+
+.PHONY: dcclean