FreeCalypso > hg > fc-small-hw
annotate lcr0402/Makefile @ 82:803667312307
sim-fpc-pasv: schem+BOM design complete
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 25 Oct 2022 06:13:01 +0000 |
parents | 91798685fd8d |
children |
rev | line source |
---|---|
54
91798685fd8d
lcr0402: add Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 ALL= gerbers.zip lcr0402_pcb.ps lcr0402_pcb.pdf |
91798685fd8d
lcr0402: add Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 EXPARG= |
91798685fd8d
lcr0402: add Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 |
91798685fd8d
lcr0402: add Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 all: ${ALL} |
91798685fd8d
lcr0402: add Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 |
91798685fd8d
lcr0402: add Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 .SUFFIXES: .ps .pdf |
91798685fd8d
lcr0402: add Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 |
91798685fd8d
lcr0402: add Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 .ps.pdf: |
91798685fd8d
lcr0402: add Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 ps2pdf $*.ps |
91798685fd8d
lcr0402: add Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 |
91798685fd8d
lcr0402: add Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 lcr0402_pcb.ps: lcr0402.pcb |
91798685fd8d
lcr0402: add Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 pcb -x ps --psfile $@ ${EXPARG} lcr0402.pcb |
91798685fd8d
lcr0402: add Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 |
91798685fd8d
lcr0402: add Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 gerbers.d: lcr0402.pcb |
91798685fd8d
lcr0402: add Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
15 -rm -rf $@ |
91798685fd8d
lcr0402: add Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
16 mkdir $@ |
91798685fd8d
lcr0402: add Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
17 pcb -x gerber --gerberfile gerbers.d/lcr0402 ${EXPARG} lcr0402.pcb |
91798685fd8d
lcr0402: add Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
18 |
91798685fd8d
lcr0402: add Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
19 gerbers.zip: gerbers.d |
91798685fd8d
lcr0402: add Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
20 -rm -f $@ |
91798685fd8d
lcr0402: add Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
21 cd gerbers.d; zip ../gerbers.zip * |
91798685fd8d
lcr0402: add Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
22 |
91798685fd8d
lcr0402: add Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
23 clean: |
91798685fd8d
lcr0402: add Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
24 rm -f *.ps *.pdf lcr0402.pcb- |
91798685fd8d
lcr0402: add Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
25 rm -rf gerbers.* |