comparison lcr0402/Makefile @ 54:91798685fd8d

lcr0402: add Makefile
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 22 Jun 2021 05:27:16 +0000
parents
children
comparison
equal deleted inserted replaced
53:d683ee552862 54:91798685fd8d
1 ALL= gerbers.zip lcr0402_pcb.ps lcr0402_pcb.pdf
2 EXPARG=
3
4 all: ${ALL}
5
6 .SUFFIXES: .ps .pdf
7
8 .ps.pdf:
9 ps2pdf $*.ps
10
11 lcr0402_pcb.ps: lcr0402.pcb
12 pcb -x ps --psfile $@ ${EXPARG} lcr0402.pcb
13
14 gerbers.d: lcr0402.pcb
15 -rm -rf $@
16 mkdir $@
17 pcb -x gerber --gerberfile gerbers.d/lcr0402 ${EXPARG} lcr0402.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 lcr0402.pcb-
25 rm -rf gerbers.*