-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
47 lines (36 loc) · 863 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
43
44
45
46
47
#
# Top Makefile for pogo
#
DISTRO = PogoShell2.0Beta3
all : libpogo tools flashlib pogoshell
.PHONY : libpogo tools pogoshell flashlib clean
distro:
rm -rf $(DISTRO)
mkdir -p $(DISTRO)
cp -a data/root $(DISTRO)
cp -a data/distro/* $(DISTRO)
mkdir -p $(DISTRO)/tools
cp -a tools/*.exe $(DISTRO)/tools
cp shell2/pogo.gba $(DISTRO)
libpogo:
make -C libpogo/source all
make -C libpogo/source -f Makefile.deb all
tools:
# make -C tools
make -C data/fonts
pogoshell:
make -C shell2 CART=xrom
# make -C shell2 CART=f2axg
make -C shell2 CART=visoly_xg1
# make -C shell2 CART=ez
clean:
make -C libpogo/source clean
make -C libpogo/source -f Makefile.deb clean
make -C data/fonts clean
make -C shell2 clean
make -C libfc_visoly_xg1 clean
make -C libfc_xrom clean
superclean: clean
make -C tools clean
rm -rf $(DISTRO)
rebuild : clean all