forked from zardam/nw-external-apps
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
37 lines (27 loc) · 815 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
apps.tar: apps/KhiCAS/app.elf apps/Periodic/app.elf apps/Nofrendo/app.elf apps/Peanut-GB/app.elf apps/HexEdit/app.elf apps/BadApple/app.elf
./archive $@ $^
flash: apps.tar
dfu-util -i 0 -a 0 -s 0x90200000 -D $^
api/libapi.a:
make -C api
apps/Periodic/app.elf: api/libapi.a
make -C apps/Periodic
apps/Peanut-GB/app.elf: api/libapi.a
make -C apps/Peanut-GB
apps/KhiCAS/app.elf: api/libapi.a
make -C apps/KhiCAS
apps/Nofrendo/app.elf: api/libapi.a
make -C apps/Nofrendo
apps/HexEdit/app.elf: api/libapi.a
make -C apps/HexEdit
apps/BadApple/app.elf: api/libapi.a
make -C apps/BadApple
clean:
rm -f apps.tar
make -C api clean
make -C apps/Periodic clean
make -C apps/KhiCAS clean
make -C apps/Nofrendo clean
make -C apps/Peanut-GB clean
make -C apps/HexEdit clean
make -C apps/BadApple clean