Werner's Miscellanea
Sign in or create your account | Project List | Help
Werner's Miscellanea Git Source Tree
Root/
| 1 | PLOT_BRD = pcbnew --plot=ps_a4 --ps-pads-drill-opt=none --fill-all-zones |
| 2 | |
| 3 | NAME = zprobe |
| 4 | |
| 5 | .PHONY: all sch brd front back clean |
| 6 | |
| 7 | all: ssop8-p-0_50a.mod |
| 8 | @echo "make what ? target: sch brd front back clean" |
| 9 | @exit 1 |
| 10 | |
| 11 | %.mod: %.fpd |
| 12 | fped -k $< >$@ || { rm -f $@; exit 1; } |
| 13 | |
| 14 | sch: |
| 15 | eeschema `pwd`/$(NAME).sch |
| 16 | |
| 17 | brd: |
| 18 | pcbnew `pwd`/$(NAME).brd |
| 19 | |
| 20 | front: $(NAME)-Front.ps |
| 21 | lpr $< |
| 22 | |
| 23 | back: $(NAME)-Back.ps |
| 24 | lpr $< |
| 25 | |
| 26 | %-Front.ps: %.brd |
| 27 | $(PLOT_BRD) -l Front --mirror $< |
| 28 | |
| 29 | %-Back.ps: %.brd |
| 30 | $(PLOT_BRD) -l Back $< |
| 31 | |
| 32 | clean: |
| 33 | rm -f $(NAME)-Front.ps $(NAME)-Back.ps |
| 34 | rm -f $(NAME).drl $(NAME)-PCB_Edges.gbr |
| 35 |
Branches:
master
