From aae86ca644e6a7f70d25c93eeef07c30de263fb1 Mon Sep 17 00:00:00 2001 From: Werner Almesberger Date: Tue, 28 Dec 2010 13:02:43 -0300 Subject: [PATCH] atusb/Makefile: move common plot command parts to variable $(PLOT_BRD) --- atusb/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/atusb/Makefile b/atusb/Makefile index 1f53a71..16abef8 100644 --- a/atusb/Makefile +++ b/atusb/Makefile @@ -1,3 +1,5 @@ +PLOT_BRD = pcbnew --plot=ps_a4 --ps-pads-drill-opt=none + .PHONY: all gen generate sch brd xpdf front back clean all: @@ -38,10 +40,10 @@ back: atusb-Back.ps # atusb-Front.ps: atusb.brd - pcbnew -p=ps_a4 -l Front --ps-pads-drill-opt=none --mirror $< + $(PLOT_BRD) -l Front --mirror $< atusb-Back.ps: atusb.brd - pcbnew -p=ps_a4 -l Back --ps-pads-drill-opt=none $< + $(PLOT_BRD) -l Back $< clean: rm -f atusb-Front.ps atusb-Back.ps