From 208f97287a8e164a8368075301298258ba6e8d26 Mon Sep 17 00:00:00 2001 From: Werner Almesberger Date: Sat, 19 Feb 2011 11:43:19 -0300 Subject: [PATCH] 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 --- atben/Makefile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/atben/Makefile b/atben/Makefile index fcbbfff..7a423a4 100644 --- a/atben/Makefile +++ b/atben/Makefile @@ -3,6 +3,7 @@ PLOT_BRD = pcbnew --plot=ps_a4 --ps-pads-drill-opt=none --fill-all-zones NAME = atben .PHONY: all gen generate sch brd xpdf front back clean +.PHONY: gerber gerbv all: @echo "make what ? target: gen sch brd xpdf" @@ -27,6 +28,22 @@ front: $(NAME)-Front.ps back: $(NAME)-Back.ps 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 # method. Note that other artwork transfer methods may require different