forked from Guillem96/argon-nx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
42 lines (28 loc) · 839 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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
.PHONY: all clean
all: directories primary gui
$(MAKE) -C modules/minerva
directories:
@mkdir -p output
gui:
$(MAKE) -C argon-nx-gui
primary:
$(MAKE) -C argon-first-stage
clean:
$(MAKE) -C modules/minerva clean
$(MAKE) -C argon-first-stage clean
$(MAKE) -C argon-nx-gui clean
rm -rf output/
dist: clean all
mkdir -p argon/logos
mkdir -p argon/payloads
mkdir -p argon/sys
cp output/argon-nx.bin argon-nx.bin
cp output/argon-nx-gui.bin argon/sys/argon-nx-gui.bin
cp output/libsys_minerva.bso argon/sys/minerva.bso
cp img/example-custom/logos/* argon/logos
cp img/example-custom/backgrounds/default.bmp argon/background.bmp
cp img/example-custom/splashes/default.bmp argon/splash.bmp
cp modules/resources.argon argon/sys/resources.argon
zip -r argon-nx.zip argon argon-nx.bin
rm -rf argon
rm argon-nx.bin