annotate lunalcd1/pcb/Makefile @ 23:22aba3a61a4b

duart28: vsrc passes sverp
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 13 Jun 2020 06:38:05 +0000
parents ee17927ee326
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
12
ee17927ee326 lunalcd1/pcb/Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 ALL= gerbers.zip lunalcd1_pcb.ps lunalcd1_pcb.pdf
ee17927ee326 lunalcd1/pcb/Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 EXPARG=
ee17927ee326 lunalcd1/pcb/Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3
ee17927ee326 lunalcd1/pcb/Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4 all: ${ALL}
ee17927ee326 lunalcd1/pcb/Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5
ee17927ee326 lunalcd1/pcb/Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6 .SUFFIXES: .ps .pdf
ee17927ee326 lunalcd1/pcb/Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7
ee17927ee326 lunalcd1/pcb/Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8 .ps.pdf:
ee17927ee326 lunalcd1/pcb/Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 ps2pdf $*.ps
ee17927ee326 lunalcd1/pcb/Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10
ee17927ee326 lunalcd1/pcb/Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11 lunalcd1_pcb.ps: lunalcd1.pcb
ee17927ee326 lunalcd1/pcb/Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12 pcb -x ps --psfile $@ ${EXPARG} lunalcd1.pcb
ee17927ee326 lunalcd1/pcb/Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13
ee17927ee326 lunalcd1/pcb/Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14 gerbers.d: lunalcd1.pcb
ee17927ee326 lunalcd1/pcb/Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15 -rm -rf $@
ee17927ee326 lunalcd1/pcb/Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
16 mkdir $@
ee17927ee326 lunalcd1/pcb/Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
17 pcb -x gerber --gerberfile gerbers.d/lunalcd1 ${EXPARG} lunalcd1.pcb
ee17927ee326 lunalcd1/pcb/Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
18
ee17927ee326 lunalcd1/pcb/Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
19 gerbers.zip: gerbers.d
ee17927ee326 lunalcd1/pcb/Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
20 -rm -f $@
ee17927ee326 lunalcd1/pcb/Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
21 cd gerbers.d; zip ../gerbers.zip *
ee17927ee326 lunalcd1/pcb/Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
22
ee17927ee326 lunalcd1/pcb/Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
23 clean:
ee17927ee326 lunalcd1/pcb/Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
24 rm -f *.ps *.pdf lunalcd1.pcb-
ee17927ee326 lunalcd1/pcb/Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
25 rm -rf gerbers.*