aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/ds/makefile
blob: e24a36ef8115dfd80727bcd29f0a59b85119b2fc (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
59
60
61
62
63
64
65
66
#SUBDIRS:= `ls | egrep -v '^(CVS|tools)$$'`




export PATH	:=	$(DEVKITPRO)/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
	$(MAKE) semiclean
	$(MAKE) all       SCUMM_BUILD=i
	$(MAKE) semiclean
	$(MAKE) all       SCUMM_BUILD=k

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
	$(MAKE) clean     SCUMM_BUILD=i
	$(MAKE) all       SCUMM_BUILD=i
	$(MAKE) clean     SCUMM_BUILD=k
	$(MAKE) all       SCUMM_BUILD=k