aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/ds/makefile
blob: a9fbb136377e6639d6fd649b0247cea3f747b4fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
#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
	make semiclean
	make all       SCUMM_BUILD=h

allbuildssafe:
	make clean     SCUMM_BUILD=a
	make all       SCUMM_BUILD=a
	make clean     SCUMM_BUILD=b
	make all       SCUMM_BUILD=b
	make clean     SCUMM_BUILD=c
	make all       SCUMM_BUILD=c
	make clean     SCUMM_BUILD=d
	make all       SCUMM_BUILD=d
	make clean     SCUMM_BUILD=e
	make all       SCUMM_BUILD=e
	make clean     SCUMM_BUILD=f
	make all       SCUMM_BUILD=f
	make clean     SCUMM_BUILD=g
	make all       SCUMM_BUILD=g
	make clean     SCUMM_BUILD=h
	make all       SCUMM_BUILD=h