1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2024-11-19 07:57:30 +02:00
ben-wpan/atben/Makefile
Werner Almesberger 319bd8345d great atusd -> atben renaming: renamed design files and some references
- atben/TODO: changed all occurrences of "atusd" to "atben"
- atben/TODO: added reminder that the file isn't current anymore
- atben/Makefile (NAME): changed project name from "atusd" to "atben"
- atben/atusd.brd: renamed to atben/atben.brd
- atben/atusd.cmp: renamed to atben/atben.cmp
- atben/atusd.pro: renamed to atben/atben.pro
- atben/atusd.sch: renamed to atben/atben.sch
2011-01-17 11:27:28 -03:00

50 lines
1.0 KiB
Makefile

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
all:
@echo "make what ? target: gen sch brd xpdf"
@exit 1
gen generate:
eeschema --plot `pwd`/$(NAME).sch
# need scripts
sch:
eeschema `pwd`/$(NAME).sch
brd:
pcbnew `pwd`/$(NAME).brd
xpdf:
xpdf $(NAME).pdf
front: $(NAME)-Front.ps
lpr $<
back: $(NAME)-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.
#
%-Front.ps: %.brd
$(PLOT_BRD) -l Front --mirror $<
%-Back.ps: %.brd
$(PLOT_BRD) -l Back $<
clean:
rm -f $(NAME)-Front.ps $(NAME)-Back.ps
rm -f $(NAME).drl $(NAME)-PCB_Edges.gbr