comparison mmtb1/pcb/Makefile @ 4:070b11b83958

mmtb1/pcb: added Makefile for fab output generation
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 10 Dec 2019 06:56:59 +0000
parents
children
comparison
equal deleted inserted replaced
3:bed1de3dfb85 4:070b11b83958
1 ALL= gerbers.zip mmtb1_pcb.ps mmtb1_pcb.pdf
2 EXPARG=
3
4 all: ${ALL}
5
6 .SUFFIXES: .ps .pdf
7
8 .ps.pdf:
9 ps2pdf $*.ps
10
11 mmtb1_pcb.ps: mmtb1.pcb
12 pcb -x ps --psfile $@ ${EXPARG} mmtb1.pcb
13
14 gerbers.d: mmtb1.pcb
15 -rm -rf $@
16 mkdir $@
17 pcb -x gerber --gerberfile gerbers.d/mmtb1 ${EXPARG} mmtb1.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 mmtb1.pcb-
25 rm -rf gerbers.*