forked from odevices/er-301
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
84 lines (61 loc) · 1.55 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
# top-level makefile
firmware:
+$(MAKE) -f scripts/firmware.mk
firmware-clean:
+$(MAKE) -f scripts/firmware.mk clean
app-libs:
+$(MAKE) -f scripts/lua.mk
+$(MAKE) -f scripts/miniz.mk
+$(MAKE) -f scripts/ne10.mk
+$(MAKE) -f scripts/lodepng.mk
app-libs-clean:
+$(MAKE) -f scripts/lua.mk clean
+$(MAKE) -f scripts/miniz.mk clean
+$(MAKE) -f scripts/ne10.mk clean
+$(MAKE) -f scripts/lodepng.mk clean
app: app-libs
+$(MAKE) -f scripts/app.mk
app-flash: app-libs
+$(MAKE) -f scripts/app.mk flash
app-clean: app-libs-clean
+$(MAKE) -f scripts/app.mk clean
core:
+$(MAKE) -f scripts/core.mk
core-install:
+$(MAKE) -f scripts/core.mk install
teletype:
+$(MAKE) -f scripts/teletype.mk
teletype-install:
+$(MAKE) -f scripts/teletype.mk install
core-clean:
+$(MAKE) -f scripts/core.mk clean
teletype-clean:
+$(MAKE) -f scripts/teletype.mk clean
sbl:
+$(MAKE) -f scripts/sbl.mk
sbl-flash: sbl
+$(MAKE) -f scripts/sbl.mk flash
sbl-clean:
+$(MAKE) -f scripts/sbl.mk clean
pbl:
+$(MAKE) -f scripts/pbl.mk
pbl-flash:
+$(MAKE) -f scripts/pbl.mk flash
pbl-clean:
+$(MAKE) -f scripts/pbl.mk clean
emu:
+$(MAKE) -f scripts/lua.mk
+$(MAKE) -f scripts/miniz.mk
+$(MAKE) -f scripts/lodepng.mk
+$(MAKE) -f scripts/emu.mk
emu-clean:
+$(MAKE) -f scripts/lua.mk clean
+$(MAKE) -f scripts/miniz.mk clean
+$(MAKE) -f scripts/lodepng.mk clean
+$(MAKE) -f scripts/emu.mk clean
dist-clean:
rm -rf testing debug release
+$(MAKE) -C tutorial/step1 clean
+$(MAKE) -C tutorial/step2 dist-clean
+$(MAKE) -C tutorial/step3 dist-clean
.PHONY: app sbl pbl emu