aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/ds/makefile
diff options
context:
space:
mode:
authorRobin Watts2008-06-01 18:09:19 +0000
committerRobin Watts2008-06-01 18:09:19 +0000
commitdee529f30cb8db234c78504b3a4f1547be6b0a96 (patch)
treea5852639e042b8b741d1741b359f94adf9bb60d1 /backends/platform/ds/makefile
parentcc2b35ee1f5e1f60d3ed6e619f05c7884d947b95 (diff)
downloadscummvm-rg350-dee529f30cb8db234c78504b3a4f1547be6b0a96.tar.gz
scummvm-rg350-dee529f30cb8db234c78504b3a4f1547be6b0a96.tar.bz2
scummvm-rg350-dee529f30cb8db234c78504b3a4f1547be6b0a96.zip
Tweaks to DS makefiles.
1) It wouldn't build at all for me, because source/fat had been missed off the INCLUDES line. 2) Stray whitespace removed (to stop emacs warning on saving) 3) DS_BUILD flag selection reworked slightly. Now do: make all SCUMM_BUILD=x (where x is a,b,c,d,e,f,g) and it'll select that version and build it. If no x is supplied or x is not a-g, then version a will be built. 4) New allbuilds target. In backends/platform/ds, do: make allbuilds and versions A-G are built in turn (version G does not complete currently due to lack of logo g). This uses a 'semiclean' target in each makefile to clean just the files that change between versions. svn-id: r32470
Diffstat (limited to 'backends/platform/ds/makefile')
-rw-r--r--backends/platform/ds/makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/backends/platform/ds/makefile b/backends/platform/ds/makefile
index 9c88932a7f..3fb19e939c 100644
--- a/backends/platform/ds/makefile
+++ b/backends/platform/ds/makefile
@@ -15,6 +15,24 @@ all:
@for i in $(SUBDIRS); do if test -d $$i; then make -C $$i; fi; done;
clean:
@for i in $(SUBDIRS); do if test -d $$i; then make -C $$i clean; fi; done;
+semiclean:
+ @for i in $(SUBDIRS); do if test -d $$i; then make -C $$i semiclean; fi; done;
export:
@for i in $(SUBDIRS); do if test -d $$i; then make -C $$i export; fi; done;
+
+allbuilds:
+ make semiclean
+ make all SCUMM_BUILD=a
+ make semiclean
+ make all SCUMM_BUILD=b
+ make semiclean
+ make all SCUMM_BUILD=c
+ make semiclean
+ make all SCUMM_BUILD=d
+ make semiclean
+ make all SCUMM_BUILD=e
+ make semiclean
+ make all SCUMM_BUILD=f
+ make semiclean
+ make all SCUMM_BUILD=g