FreeCalypso > hg > fc-small-hw
annotate lunakpd1/pcb/Makefile @ 44:635eab0b714e
duart28: U5 & U6 slot change by PCB layout engineer
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 28 Jul 2020 17:01:37 +0000 |
parents | b3dffadff287 |
children |
rev | line source |
---|---|
19
b3dffadff287
lunakpd1/pcb/Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 ALL= gerbers.zip lunakpd1_pcb.ps lunakpd1_pcb.pdf |
b3dffadff287
lunakpd1/pcb/Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 EXPARG= |
b3dffadff287
lunakpd1/pcb/Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 |
b3dffadff287
lunakpd1/pcb/Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 all: ${ALL} |
b3dffadff287
lunakpd1/pcb/Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 |
b3dffadff287
lunakpd1/pcb/Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 .SUFFIXES: .ps .pdf |
b3dffadff287
lunakpd1/pcb/Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 |
b3dffadff287
lunakpd1/pcb/Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 .ps.pdf: |
b3dffadff287
lunakpd1/pcb/Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 ps2pdf $*.ps |
b3dffadff287
lunakpd1/pcb/Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 |
b3dffadff287
lunakpd1/pcb/Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 lunakpd1_pcb.ps: lunakpd1.pcb |
b3dffadff287
lunakpd1/pcb/Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 pcb -x ps --psfile $@ ${EXPARG} lunakpd1.pcb |
b3dffadff287
lunakpd1/pcb/Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 |
b3dffadff287
lunakpd1/pcb/Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 gerbers.d: lunakpd1.pcb |
b3dffadff287
lunakpd1/pcb/Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
15 -rm -rf $@ |
b3dffadff287
lunakpd1/pcb/Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
16 mkdir $@ |
b3dffadff287
lunakpd1/pcb/Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
17 pcb -x gerber --gerberfile gerbers.d/lunakpd1 ${EXPARG} lunakpd1.pcb |
b3dffadff287
lunakpd1/pcb/Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
18 |
b3dffadff287
lunakpd1/pcb/Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
19 gerbers.zip: gerbers.d |
b3dffadff287
lunakpd1/pcb/Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
20 -rm -f $@ |
b3dffadff287
lunakpd1/pcb/Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
21 cd gerbers.d; zip ../gerbers.zip * |
b3dffadff287
lunakpd1/pcb/Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
22 |
b3dffadff287
lunakpd1/pcb/Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
23 clean: |
b3dffadff287
lunakpd1/pcb/Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
24 rm -f *.ps *.pdf lunakpd1.pcb- |
b3dffadff287
lunakpd1/pcb/Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
25 rm -rf gerbers.* |