-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathMakefile
More file actions
28 lines (21 loc) · 727 Bytes
/
Makefile
File metadata and controls
28 lines (21 loc) · 727 Bytes
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
VERSION?=0.1
NAME?=
DESIGNER?=Josh Johnson
prod-files:
make gerb
make pnp
make bom
new:
git submodule update --init --recursive --progress
cd josh-kicad-lib && git checkout master && git pull
cd josh-kicad-lib && bash setup.sh "$(VERSION)" "$(NAME)" "$(DESIGNER)"
gerb:
python3 scripts/plot_gerbers.py hardware/$(VERSION)/*.kicad_pcb
bom:
cd hardware/$(VERSION) && python3 ../../scripts/josh_bom.py *.xml bom/BOM.csv
pnp:
cd hardware/$(VERSION) && python3 "$(HOME)/.kicad_plugins/InteractiveHtmlBom/InteractiveHtmlBom/generate_interactive_bom.py" *.kicad_pcb
panel:
python3 scripts/panel.py hardware/$(VERSION)/panel/*.kicad_pcb
panel-gerb:
python3 scripts/plot_gerbers.py hardware/$(VERSION)/panel/output.*