1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2024-11-17 23:20:38 +02:00

atben/Makefile: added targets for generating and reviewing Gerbers

- Makefile (gerber): generate Gerbers for all layers
- Makefile (gerbv): show the Gerbers in a "natural" stacking
This commit is contained in:
Werner Almesberger 2011-02-19 11:43:19 -03:00
parent 21f62a7a91
commit 208f97287a

View File

@ -3,6 +3,7 @@ PLOT_BRD = pcbnew --plot=ps_a4 --ps-pads-drill-opt=none --fill-all-zones
NAME = atben NAME = atben
.PHONY: all gen generate sch brd xpdf front back clean .PHONY: all gen generate sch brd xpdf front back clean
.PHONY: gerber gerbv
all: all:
@echo "make what ? target: gen sch brd xpdf" @echo "make what ? target: gen sch brd xpdf"
@ -27,6 +28,22 @@ front: $(NAME)-Front.ps
back: $(NAME)-Back.ps back: $(NAME)-Back.ps
lpr $< lpr $<
# this needs more work
gerber:
pcbnew --plot=gerber \
-l `pcbnew --list-layers atben.brd | tr '\012' ,` \
--fill-all-zones $(NAME).brd
gerbv:
gerbv $(NAME)-Comments.gbr \
$(NAME)-SilkS_Front.gto \
$(NAME)-SoldP_Front.gtp \
$(NAME)-Front.gtl \
$(NAME)-Mask_Front.gts \
$(NAME)-Back.gbl \
$(NAME)-Mask_Back.gbs
# #
# Postscript for production of front/back layer, using the toner transfer # Postscript for production of front/back layer, using the toner transfer
# method. Note that other artwork transfer methods may require different # method. Note that other artwork transfer methods may require different