1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2024-07-05 02:05:27 +03:00

atusd/Makefile: added targets "front", "back", "clean"

This commit is contained in:
Werner Almesberger 2011-01-08 09:45:52 -03:00
parent b2d90cd3d3
commit 88b742b3b6

View File

@ -1,6 +1,8 @@
PLOT_BRD = pcbnew --plot=ps_a4 --ps-pads-drill-opt=none --fill-all-zones
NAME = atusd
.PHONY: all gen generate sch brd xpdf
.PHONY: all gen generate sch brd xpdf front back clean
all: dtc123je.mod
@echo "make what ? target: gen sch brd xpdf"
@ -18,3 +20,30 @@ brd:
xpdf:
xpdf atusd.pdf
front: atusd-Front.ps
lpr $<
back: atusd-Back.ps
lpr $<
#
# Postscript for production of front/back layer, using the toner transfer
# method. Note that other artwork transfer methods may require different
# mirror settings.
#
# We use --ps-pads-drill-opt=none to avoid having any hole before drilling,
# which yields the best results with a CNC drill. For manual drilling, "real"
# would be preferrable. Do not use "small", for this created holes that are
# larger (!) than designed.
#
atusd-Front.ps: atusd.brd
$(PLOT_BRD) -l Front --mirror $<
atusd-Back.ps: atusd.brd
$(PLOT_BRD) -l Back $<
clean:
rm -f atusd-Front.ps atusd-Back.ps
rm -f atusd.drl atusd-PCB_Edges.gbr