Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
NAME = buildbotics_controller
SCHEMATICS = $(wildcard *.sch)
SYMBOLS = $(wildcard symbols/*.sym)
FOOTPRINTS = $(wildcard footprints/*.fp)
all: drc
schematics:
gschem -q -- $(NAME).sch&
pcb:
pcb $(NAME).pcb&
net: $(SCHEMATICS)
gnetlist -g geda -o $(NAME).net $(NAME).sch
bom: $(SCHEMATICS)
gnetlist -g partslist3 -o $(NAME).bom $(NAME).sch
drc:
gnetlist -g drc2 -o - $(NAME).sch
attrib:
gattrib $(SCHEMATICS)
layout: $(SCHEMATICS) $(FOOTPRINTS) $(SYMBOLS)
gsch2pcb --elements-dir footprints/ $(NAME).sch -o $(NAME)
zip:
zip $(NAME).zip *.gbr *.cnc
clean-layout:
rm -f $(NAME).pcb $(NAME).new.pcb $(NAME).net $(NAME).cmd $(NAME).bom
tidy:
rm -f $(shell find . -name \*~ -o -name \#\* -o -name \*-) \
*.bak *.log *.backup
clean: tidy
rm -f *.cnc *.gbr $(NAME).zip $(NAME).net $(NAME).bom
0f118c6a9This file is pinned to the selected release. Download the original to open it in your design tool.