Max Horn 4dd4cf8bc0 DS: Remove references to DEVKITARM
In some places we used $DEVKITARM, but in others we hardcode the path
$DEVKITPRO/devkitARM. To ensure consistent behavior, I changed it to the
latter everywhere for now. Should it turn out that we really want to
have this flexible, we can reintroduce $DEVKITARM in a proper way. In
that case, we could augment configure to set DEVKITARM to
$DEVKITPRO/devkitARM, if it has not been set yet.
2011-05-03 13:22:00 +02:00

67 lines
1.7 KiB
Makefile

#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