FreeCalypso > hg > fc-small-hw
comparison lunalcd2/pcb/Makefile @ 67:a1d59c66a410
lunalcd2/pcb: add Makefile
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 25 Jun 2021 23:08:00 +0000 |
parents | lunalcd1/pcb/Makefile@ee17927ee326 |
children |
comparison
equal
deleted
inserted
replaced
66:b1e05a199192 | 67:a1d59c66a410 |
---|---|
1 ALL= gerbers.zip lunalcd2_pcb.ps lunalcd2_pcb.pdf | |
2 EXPARG= | |
3 | |
4 all: ${ALL} | |
5 | |
6 .SUFFIXES: .ps .pdf | |
7 | |
8 .ps.pdf: | |
9 ps2pdf $*.ps | |
10 | |
11 lunalcd2_pcb.ps: lunalcd2.pcb | |
12 pcb -x ps --psfile $@ ${EXPARG} lunalcd2.pcb | |
13 | |
14 gerbers.d: lunalcd2.pcb | |
15 -rm -rf $@ | |
16 mkdir $@ | |
17 pcb -x gerber --gerberfile gerbers.d/lunalcd2 ${EXPARG} lunalcd2.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 lunalcd2.pcb- | |
25 rm -rf gerbers.* |