forked from RShadowhand/singularite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
executable file
·85 lines (72 loc) · 3.42 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
MAJORVER := "1"
MINORVER := "5"
MICROVER := "2"
VERSION := $(MAJORVER).$(MINORVER).$(MICROVER)
COMMIT := $(shell git rev-parse --short HEAD)
all: checkpoint ftp goldleaf hkt hbloader hbmenu ams nxshell kipselect sigpatches sin
clean:
$(MAKE) -C Checkpoint clean
$(MAKE) -C ftpd clean
$(MAKE) -C hekate clean
$(MAKE) -C Goldleaf/Goldleaf clean
# $(MAKE) -C nx-hbloader clean
# $(MAKE) -C nx-hbmenu clean
# $(MAKE) -C KipSelect clean
$(MAKE) -f Vortex clean
@rm -rf Vortex*.zip
@rm -rf NX-Shell.nro
@rm -rf Kip_Select.nro
@rm -rf fusee-primary.bin
@rm -rf ams.zip
@rm -rf patches.zip
@rm -rf Goldtree.exe
ams:
# @$(MAKE) -C Atmosphere dist
@echo "---------------------------------------------------------------"
@echo "Downloading Atmosphere, because compiling may not be possible."
@echo "Visit https://github.com/Atmosphere-NX/Atmosphere for help!"
@echo "---------------------------------------------------------------"
@[ -f ams.zip ] || wget "https://github.com/Atmosphere-NX/Atmosphere/releases/download/0.10.2/atmosphere-0.10.2-master-d5458960+hbl-2.3+hbmenu-3.2.0.zip" -O ams.zip
@[ -f fusee-primary.bin ] || wget "https://github.com/Atmosphere-NX/Atmosphere/releases/download/0.10.2/fusee-primary.bin" -O fusee-primary.bin
nxshell:
@echo "---------------------------------------------------------------"
@echo "Downloading NX-Shell, because compiling may not be possible."
@echo "Visit https://github.com/joel16/NX-Shell for help!"
@echo "---------------------------------------------------------------"
@[ -f NX-Shell.nro ] || wget "https://github.com/joel16/NX-Shell/releases/download/2.11/NX-Shell.nro" -O NX-Shell.nro
kipselect:
# @$(MAKE) -C KipSelect
@echo "---------------------------------------------------------------"
@echo "Downloading KipSelect, because compiling may not be possible."
@echo "Visit https://github.com/Sciguy429/KipSelect for help!"
@echo "---------------------------------------------------------------"
@[ -f Kip_Select.nro ] || wget "https://github.com/Sciguy429/KipSelect/releases/download/3.1.0/Kip_Select.nro" -O Kip_Select.nro
checkpoint:
@$(MAKE) -C Checkpoint switch
ftp:
@$(MAKE) -C ftpd/ nro
hkt:
@$(MAKE) -C hekate
goldleaf:
@$(MAKE) -C Goldleaf/Goldleaf
@echo "---------------------------------------------------------------"
@echo "Downloading Goldtree, because compiling may not be possible."
@echo "Visit https://github.com/XorTroll/Goldleaf for help!"
@echo "---------------------------------------------------------------"
@[ -f Goldtree.exe ] || wget "https://github.com/XorTroll/Goldleaf/releases/download/0.8/Quark.jar" -O Quark.jar
hbloader:
# @$(MAKE) -C nx-hbloader
@echo "Included in Atmosphere"
hbmenu:
# @$(MAKE) -C nx-hbmenu nx
@echo "Included in Atmosphere"
sigpatches:
@echo "----------------------------------------------------------------------------------------------------------------"
@echo "Downloading IPS patches (ES & FS), because compiling may not be possible."
@echo "Visit https://gbatemp.net/threads/i-heard-that-you-guys-need-some-sweet-patches-for-atmosphere.521164/ for help!"
@echo "----------------------------------------------------------------------------------------------------------------"
@[ -f patches.zip ] || curl "https://cdn.discordapp.com/attachments/519987015152959503/663386832326623253/2.0.0-9.1.0.zip" -o patches.zip
sin:
$(MAKE) -f Vortex
release: all
cd _dist; zip Vortex.zip * -r -9; mv Vortex.zip ../Vortex-$(VERSION)-$(COMMIT).zip