FreeCalypso > hg > fc-small-hw
comparison lunalcd3/Makefile @ 79:48f3c5997dec
lunalcd3: add Makefile for Gerber output generation
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 04 Dec 2021 22:28:05 +0000 |
parents | lunalcd2/pcb/Makefile@a1d59c66a410 |
children |
comparison
equal
deleted
inserted
replaced
78:7762ad7f61fe | 79:48f3c5997dec |
---|---|
1 ALL= gerbers.zip lunalcd3_pcb.ps lunalcd3_pcb.pdf | |
2 EXPARG= | |
3 | |
4 all: ${ALL} | |
5 | |
6 .SUFFIXES: .ps .pdf | |
7 | |
8 .ps.pdf: | |
9 ps2pdf $*.ps | |
10 | |
11 lunalcd3_pcb.ps: lunalcd3.pcb | |
12 pcb -x ps --psfile $@ ${EXPARG} lunalcd3.pcb | |
13 | |
14 gerbers.d: lunalcd3.pcb | |
15 -rm -rf $@ | |
16 mkdir $@ | |
17 pcb -x gerber --gerberfile gerbers.d/lunalcd3 ${EXPARG} lunalcd3.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 lunalcd3.pcb- | |
25 rm -rf gerbers.* |