mirror of
git://projects.qi-hardware.com/ben-blinkenlights.git
synced 2024-11-05 12:45:20 +02:00
7fba9a2a51
- ubb.brd: added project name, license, and "qi-hw.com" - ubb.brd: duplicated text on front copper layer to silk screen - ubb.brd: changed component references to more meaningful information, in case they are printed on a PCB - ubb.brd: removed unused layers - ubb.brd: bumped version number to 110207 - Makefile: added commented-out "gerber" target, as a reminder
41 lines
778 B
Makefile
41 lines
778 B
Makefile
PLOT_BRD = pcbnew --plot=ps_a4 --ps-pads-drill-opt=none --fill-all-zones
|
|
|
|
NAME = ubb
|
|
|
|
.PHONY: all sch brd front back clean
|
|
|
|
all:
|
|
@echo "make what ? target: sch brd front back clean"
|
|
@exit 1
|
|
|
|
sch:
|
|
eeschema `pwd`/$(NAME).sch
|
|
|
|
brd:
|
|
pcbnew `pwd`/$(NAME).brd
|
|
|
|
front: $(NAME)-Front.ps
|
|
lpr $<
|
|
|
|
back: $(NAME)-Back.ps
|
|
lpr $<
|
|
|
|
%-Front.ps: %.brd
|
|
$(PLOT_BRD) -l Front --mirror $<
|
|
|
|
%-Back.ps: %.brd
|
|
$(PLOT_BRD) -l Back $<
|
|
|
|
# This is just a reminder. Since there's no --exclude-board-edges (yet ?),
|
|
# this doesn't work (yet ?).
|
|
#
|
|
#gerber:
|
|
# pcbnew --plot=gerber \
|
|
# -l Front,Back,Mask_Front,PCB_Edges,SilkS_Front \
|
|
# --fill-all-zones $(NAME).brd \
|
|
# --exclude-board-edges
|
|
|
|
clean:
|
|
rm -f $(NAME)-Front.ps $(NAME)-Back.ps
|
|
rm -f $(NAME).drl $(NAME)-PCB_Edges.gbr
|