1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2024-11-26 17:33:43 +02:00

atusb/Makefile: move common plot command parts to variable $(PLOT_BRD)

This commit is contained in:
Werner Almesberger 2010-12-28 13:02:43 -03:00
parent 3385afca0d
commit aae86ca644

View File

@ -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 .PHONY: all gen generate sch brd xpdf front back clean
all: all:
@ -38,10 +40,10 @@ back: atusb-Back.ps
# #
atusb-Front.ps: atusb.brd 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 atusb-Back.ps: atusb.brd
pcbnew -p=ps_a4 -l Back --ps-pads-drill-opt=none $< $(PLOT_BRD) -l Back $<
clean: clean:
rm -f atusb-Front.ps atusb-Back.ps rm -f atusb-Front.ps atusb-Back.ps