FreeCalypso > hg > fc-small-hw
annotate mmtb1/pcb/Makefile @ 39:e0b83c75df08
duart28/src/MCL: value attribute was wrong on the tantalum cap
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 24 Jul 2020 20:20:55 +0000 |
parents | 070b11b83958 |
children |
rev | line source |
---|---|
4
070b11b83958
mmtb1/pcb: added Makefile for fab output generation
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 ALL= gerbers.zip mmtb1_pcb.ps mmtb1_pcb.pdf |
070b11b83958
mmtb1/pcb: added Makefile for fab output generation
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 EXPARG= |
070b11b83958
mmtb1/pcb: added Makefile for fab output generation
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 |
070b11b83958
mmtb1/pcb: added Makefile for fab output generation
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 all: ${ALL} |
070b11b83958
mmtb1/pcb: added Makefile for fab output generation
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 |
070b11b83958
mmtb1/pcb: added Makefile for fab output generation
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 .SUFFIXES: .ps .pdf |
070b11b83958
mmtb1/pcb: added Makefile for fab output generation
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 |
070b11b83958
mmtb1/pcb: added Makefile for fab output generation
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 .ps.pdf: |
070b11b83958
mmtb1/pcb: added Makefile for fab output generation
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 ps2pdf $*.ps |
070b11b83958
mmtb1/pcb: added Makefile for fab output generation
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 |
070b11b83958
mmtb1/pcb: added Makefile for fab output generation
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 mmtb1_pcb.ps: mmtb1.pcb |
070b11b83958
mmtb1/pcb: added Makefile for fab output generation
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 pcb -x ps --psfile $@ ${EXPARG} mmtb1.pcb |
070b11b83958
mmtb1/pcb: added Makefile for fab output generation
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 |
070b11b83958
mmtb1/pcb: added Makefile for fab output generation
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 gerbers.d: mmtb1.pcb |
070b11b83958
mmtb1/pcb: added Makefile for fab output generation
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
15 -rm -rf $@ |
070b11b83958
mmtb1/pcb: added Makefile for fab output generation
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
16 mkdir $@ |
070b11b83958
mmtb1/pcb: added Makefile for fab output generation
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
17 pcb -x gerber --gerberfile gerbers.d/mmtb1 ${EXPARG} mmtb1.pcb |
070b11b83958
mmtb1/pcb: added Makefile for fab output generation
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
18 |
070b11b83958
mmtb1/pcb: added Makefile for fab output generation
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
19 gerbers.zip: gerbers.d |
070b11b83958
mmtb1/pcb: added Makefile for fab output generation
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
20 -rm -f $@ |
070b11b83958
mmtb1/pcb: added Makefile for fab output generation
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
21 cd gerbers.d; zip ../gerbers.zip * |
070b11b83958
mmtb1/pcb: added Makefile for fab output generation
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
22 |
070b11b83958
mmtb1/pcb: added Makefile for fab output generation
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
23 clean: |
070b11b83958
mmtb1/pcb: added Makefile for fab output generation
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
24 rm -f *.ps *.pdf mmtb1.pcb- |
070b11b83958
mmtb1/pcb: added Makefile for fab output generation
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
25 rm -rf gerbers.* |