FreeCalypso > hg > fc-small-hw
annotate lunalcd2/pcb/Makefile @ 72:c2a3670c7aca
lunalcd3.pcb: manually add bottom strap to LCD footprint
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 18 Nov 2021 06:11:27 +0000 |
parents | a1d59c66a410 |
children |
rev | line source |
---|---|
67
a1d59c66a410
lunalcd2/pcb: add Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
12
diff
changeset
|
1 ALL= gerbers.zip lunalcd2_pcb.ps lunalcd2_pcb.pdf |
12
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 |
67
a1d59c66a410
lunalcd2/pcb: add Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
12
diff
changeset
|
11 lunalcd2_pcb.ps: lunalcd2.pcb |
a1d59c66a410
lunalcd2/pcb: add Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
12
diff
changeset
|
12 pcb -x ps --psfile $@ ${EXPARG} lunalcd2.pcb |
12
ee17927ee326
lunalcd1/pcb/Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 |
67
a1d59c66a410
lunalcd2/pcb: add Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
12
diff
changeset
|
14 gerbers.d: lunalcd2.pcb |
12
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 $@ |
67
a1d59c66a410
lunalcd2/pcb: add Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
12
diff
changeset
|
17 pcb -x gerber --gerberfile gerbers.d/lunalcd2 ${EXPARG} lunalcd2.pcb |
12
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: |
67
a1d59c66a410
lunalcd2/pcb: add Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
12
diff
changeset
|
24 rm -f *.ps *.pdf lunalcd2.pcb- |
12
ee17927ee326
lunalcd1/pcb/Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
25 rm -rf gerbers.* |