-
Notifications
You must be signed in to change notification settings - Fork 45
/
Makefile
111 lines (72 loc) · 2.96 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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
ifeq ("$(V)", "1")
verboseflag = --verbose
else
verboseflag =
endif
all: build compile check verify
build: build-libs build-mods
build-libs: build-lib-connector build-lib-ic build-lib-power build-lib-switch
build-mods: build-mod-chip build-mod-ic build-mod-jstpa build-mod-sil-dil build-mod-jsteh build-mod-picoblade build-mod-tfml-sfml
build-verify: verify-libs verify-mods
verify-libs: verify-lib-connector verify-lib-ic verify-lib-power
verify-mods: verify-mod-chip verify-mod-ic verify-mod-jstpa verify-mod-sil-dil verify-mod-jsteh verify-mod-picoblade
compile: compile-lib compile-sym-lib-table
compile-verify: verify-lib verify-sym-lib-table
check: check-lib check-mod
verify: build-verify compile-verify
build-lib-connector:
python3 scripts/build_lib_connector.py lib/connector/conn.kicad_sym
verify-lib-connector:
python3 scripts/build_lib_connector.py lib/connector/conn.kicad_sym --verify
build-lib-switch:
python3 scripts/build_lib_switch.py lib/ui/switch.kicad_sym
verify-lib-switch:
python3 scripts/build_lib_switch.py lib/ui/switch.kicad_sym --verify $(verboseflag)
build-lib-ic:
python3 scripts/build_lib_ic.py lib/
verify-lib-ic:
python3 scripts/build_lib_ic.py lib/ --verify $(verboseflag)
build-lib-power:
python3 scripts/build_lib_power.py lib/power/power.kicad_sym
verify-lib-power:
python3 scripts/build_lib_power.py lib/power/power.kicad_sym --verify
build-mod-chip:
python3 scripts/build_mod_chip.py agg.pretty/ mod/chip
verify-mod-chip:
python3 scripts/build_mod_chip.py agg.pretty/ mod/chip --verify $(verboseflag)
build-mod-ic:
python3 scripts/build_mod_ic.py agg.pretty/ mod/ic
verify-mod-ic:
python3 scripts/build_mod_ic.py agg.pretty/ mod/ic --verify $(verboseflag)
build-mod-jstpa:
python3 scripts/build_mod_jstpa.py agg.pretty/
verify-mod-jstpa:
python3 scripts/build_mod_jstpa.py agg.pretty/ --verify $(verboseflag)
build-mod-jsteh:
python3 scripts/build_mod_jsteh.py agg.pretty/
verify-mod-jsteh:
python3 scripts/build_mod_jsteh.py agg.pretty/ --verify $(verboseflag)
build-mod-sil-dil:
python3 scripts/build_mod_sil_dil.py agg.pretty/
verify-mod-sil-dil:
python3 scripts/build_mod_sil_dil.py agg.pretty/ --verify $(verboseflag)
build-mod-picoblade:
python3 scripts/build_mod_picoblade.py agg.pretty/
verify-mod-picoblade:
python3 scripts/build_mod_picoblade.py agg.pretty/ --verify $(verboseflag)
build-mod-tfml-sfml:
python3 scripts/build_mod_tfml_sfml.py agg.pretty/
verify-mod-tfml-sfml:
python3 scripts/build_mod_tfml_sfml.py agg.pretty/ --verify $(verboseflag)
compile-lib:
python3 scripts/compile_lib.py lib/ agg-kicad.kicad_sym
verify-lib:
python3 scripts/compile_lib.py lib/ agg-kicad.kicad_sym --verify
compile-sym-lib-table:
python3 scripts/compile_sym_lib_table.py lib/ sym-lib-table
verify-sym-lib-table:
python3 scripts/compile_sym_lib_table.py lib/ sym-lib-table --verify
check-lib:
python3 scripts/check_lib.py lib/ agg.pretty/ $(verboseflag)
check-mod:
python3 scripts/check_mod.py agg.pretty/ $(verboseflag)