FreeCalypso > hg > fc-small-hw
comparison bb2fc/pcb/Makefile @ 0:0f9bdd60ce50
fc-small-hw separated from old freecalypso-schem repo
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Mon, 21 Oct 2019 00:53:38 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:0f9bdd60ce50 |
---|---|
1 ALL= gerbers.zip bb2fc_pcb.ps bb2fc_pcb.pdf | |
2 EXPARG= | |
3 | |
4 all: ${ALL} | |
5 | |
6 .SUFFIXES: .ps .pdf | |
7 | |
8 .ps.pdf: | |
9 ps2pdf $*.ps | |
10 | |
11 bb2fc_pcb.ps: bb2fc.pcb | |
12 pcb -x ps --psfile $@ ${EXPARG} bb2fc.pcb | |
13 | |
14 gerbers.d: bb2fc.pcb | |
15 -rm -rf $@ | |
16 mkdir $@ | |
17 pcb -x gerber --gerberfile gerbers.d/bb2fc ${EXPARG} bb2fc.pcb | |
18 | |
19 gerbers.zip: gerbers.d | |
20 -rm -f $@ | |
21 cd gerbers.d; zip ../gerbers.zip * | |
22 | |
23 clean: | |
24 rm -f *.ps *.pdf bb2fc.pcb- | |
25 rm -rf gerbers.* |