mirror of
git://projects.qi-hardware.com/ben-wpan.git
synced 2024-12-23 17:39:53 +02:00
atusd/Makefile: added targets "front", "back", "clean"
This commit is contained in:
parent
b2d90cd3d3
commit
88b742b3b6
@ -1,6 +1,8 @@
|
|||||||
|
PLOT_BRD = pcbnew --plot=ps_a4 --ps-pads-drill-opt=none --fill-all-zones
|
||||||
|
|
||||||
NAME = atusd
|
NAME = atusd
|
||||||
|
|
||||||
.PHONY: all gen generate sch brd xpdf
|
.PHONY: all gen generate sch brd xpdf front back clean
|
||||||
|
|
||||||
all: dtc123je.mod
|
all: dtc123je.mod
|
||||||
@echo "make what ? target: gen sch brd xpdf"
|
@echo "make what ? target: gen sch brd xpdf"
|
||||||
@ -18,3 +20,30 @@ brd:
|
|||||||
|
|
||||||
xpdf:
|
xpdf:
|
||||||
xpdf atusd.pdf
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user