FreeCalypso > hg > fc-small-hw
comparison lunakpd1/pcb/Makefile @ 19:b3dffadff287
lunakpd1/pcb/Makefile added
| author | Mychaela Falconia <falcon@freecalypso.org> |
|---|---|
| date | Sat, 09 May 2020 08:13:26 +0000 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 18:8d93467a4260 | 19:b3dffadff287 |
|---|---|
| 1 ALL= gerbers.zip lunakpd1_pcb.ps lunakpd1_pcb.pdf | |
| 2 EXPARG= | |
| 3 | |
| 4 all: ${ALL} | |
| 5 | |
| 6 .SUFFIXES: .ps .pdf | |
| 7 | |
| 8 .ps.pdf: | |
| 9 ps2pdf $*.ps | |
| 10 | |
| 11 lunakpd1_pcb.ps: lunakpd1.pcb | |
| 12 pcb -x ps --psfile $@ ${EXPARG} lunakpd1.pcb | |
| 13 | |
| 14 gerbers.d: lunakpd1.pcb | |
| 15 -rm -rf $@ | |
| 16 mkdir $@ | |
| 17 pcb -x gerber --gerberfile gerbers.d/lunakpd1 ${EXPARG} lunakpd1.pcb | |
| 18 | |
| 19 gerbers.zip: gerbers.d | |
| 20 -rm -f $@ | |
| 21 cd gerbers.d; zip ../gerbers.zip * | |
| 22 | |
| 23 clean: | |
| 24 rm -f *.ps *.pdf lunakpd1.pcb- | |
| 25 rm -rf gerbers.* |
