forked from DS-Homebrew/TWiLightMenu
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
97 lines (79 loc) · 2.91 KB
/
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
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
#---------------------------------------------------------------------------------
# PACKAGE is the directory where final published files will be placed
#---------------------------------------------------------------------------------
PACKAGE := 7zfile
#---------------------------------------------------------------------------------
# Goals for Build
#---------------------------------------------------------------------------------
.PHONY: all package booter booter_fc gbapatcher quickmenu manual romsel_dsimenutheme romsel_r4theme rungame settings slot1launch title
all: booter booter_fc gbapatcher quickmenu manual romsel_dsimenutheme romsel_r4theme rungame settings slot1launch title
package:
@$(MAKE) -C booter dist
@$(MAKE) -C booter_fc dist
@$(MAKE) -C gbapatcher dist
@$(MAKE) -C quickmenu dist
@$(MAKE) -C manual dist
#@$(MAKE) -C romsel_aktheme dist
@$(MAKE) -C romsel_dsimenutheme dist
@$(MAKE) -C romsel_r4theme dist
@$(MAKE) -C rungame dist
@$(MAKE) -C settings dist
@$(MAKE) -C slot1launch dist
@$(MAKE) -C title dist
@rm -rf 7zfile/*/.gitkeep
@rm -rf 7zfile/*/*/.gitkeep
booter:
@$(MAKE) -C booter
booter_fc:
@$(MAKE) -C booter_fc
gbapatcher:
@$(MAKE) -C gbapatcher
quickmenu:
@$(MAKE) -C quickmenu
manual:
@$(MAKE) -C manual
romsel_aktheme:
@$(MAKE) -C romsel_aktheme
romsel_dsimenutheme:
@$(MAKE) -C romsel_dsimenutheme
romsel_r4theme:
@$(MAKE) -C romsel_r4theme
rungame:
@$(MAKE) -C rungame
settings:
@$(MAKE) -C settings
slot1launch:
@$(MAKE) -C slot1launch
title:
@$(MAKE) -C title
clean:
@echo clean build directories
@$(MAKE) -C booter clean
@$(MAKE) -C booter_fc clean
@$(MAKE) -C gbapatcher clean
@$(MAKE) -C quickmenu clean
@$(MAKE) -C manual clean
#@$(MAKE) -C romsel_aktheme clean
@$(MAKE) -C romsel_dsimenutheme clean
@$(MAKE) -C romsel_r4theme clean
@$(MAKE) -C rungame clean
@$(MAKE) -C settings clean
@$(MAKE) -C slot1launch clean
@$(MAKE) -C title clean
@echo clean package files
@rm -rf "$(PACKAGE)/DSi&3DS - SD card users/BOOT.NDS"
@rm -rf "$(PACKAGE)/Flashcard users/BOOT.NDS"
@rm -rf "$(PACKAGE)/Flashcard users/BOOT_cyclodsi.NDS"
@rm -rf "${PACKAGE}/Flashcard users/Autoboot/Original R4/default.nds"
@rm -rf "${PACKAGE}/Flashcard users/Autoboot/Original R4/akMenu-Wood UI root/_DS_MENU.DAT"
@rm -rf "$(PACKAGE)/DSi - CFW users/SDNAND root/title/00030015/53524c41/content/00000000.app"
@rm -rf "$(PACKAGE)/DSi - CFW users/SDNAND root/title/00030015/534c524e/content/00000000.app"
#@rm -rf "$(PACKAGE)/_nds/TWiLightMenu/akmenu.srldr"
@rm -rf "$(PACKAGE)/_nds/TWiLightMenu/gbapatcher.srldr"
@rm -rf "$(PACKAGE)/_nds/TWiLightMenu/dsimenu.srldr"
@rm -rf "$(PACKAGE)/_nds/TWiLightMenu/main.srldr"
@rm -rf "$(PACKAGE)/_nds/TWiLightMenu/mainmenu.srldr"
@rm -rf "$(PACKAGE)/_nds/TWiLightMenu/manual.srldr"
@rm -rf "$(PACKAGE)/_nds/TWiLightMenu/r4menu.srldr"
@rm -rf "$(PACKAGE)/_nds/TWiLightMenu/settings.srldr"
@rm -rf "$(PACKAGE)/_nds/TWiLightMenu/slot1launch.srldr"