Files
scummvm/backends/platform/ds/makefile
T
Robin Watts dee529f30c 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
2008-06-01 18:09:19 +00:00

39 lines
849 B
Makefile

#SUBDIRS:= `ls | egrep -v '^(CVS|tools)$$'`
export PATH := $(DEVKITARM)/bin:$(PATH)
export portdir = $(CURDIR)/arm9
export srcdir = $(CURDIR)/../../..
SUBDIRS := arm7 arm9
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