comparison lunalcd1/pcb/Makefile @ 12:ee17927ee326

lunalcd1/pcb/Makefile added
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 03 Apr 2020 00:02:03 +0000
parents
children
comparison
equal deleted inserted replaced
11:e4f0ea46183a 12:ee17927ee326
1 ALL= gerbers.zip lunalcd1_pcb.ps lunalcd1_pcb.pdf
2 EXPARG=
3
4 all: ${ALL}
5
6 .SUFFIXES: .ps .pdf
7
8 .ps.pdf:
9 ps2pdf $*.ps
10
11 lunalcd1_pcb.ps: lunalcd1.pcb
12 pcb -x ps --psfile $@ ${EXPARG} lunalcd1.pcb
13
14 gerbers.d: lunalcd1.pcb
15 -rm -rf $@
16 mkdir $@
17 pcb -x gerber --gerberfile gerbers.d/lunalcd1 ${EXPARG} lunalcd1.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 lunalcd1.pcb-
25 rm -rf gerbers.*