-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
26 lines (22 loc) · 885 Bytes
/
Makefile
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
#---------------------------------------------------------------------------------
.SUFFIXES:
#---------------------------------------------------------------------------------
ifeq ($(strip $(DEVKITARM)),)
$(error "Please set DEVKITARM in your environment. export DEVKITARM=<path to>devkitARM")
endif
.PHONY: ds 3ds
#---------------------------------------------------------------------------------
# main targets
#---------------------------------------------------------------------------------
all: 3ds
#---------------------------------------------------------------------------------
ds:
$(MAKE) -C DS
#---------------------------------------------------------------------------------
3ds:
$(MAKE) -C 3DS
#---------------------------------------------------------------------------------
clean:
$(MAKE) -C 3DS clean
$(MAKE) -C DS clean
rm -f $(TARGET).nds $(TARGET).arm9