FreeCalypso > hg > fc-small-hw
comparison lcdtest1/pcb/Makefile @ 0:0f9bdd60ce50
fc-small-hw separated from old freecalypso-schem repo
| author | Mychaela Falconia <falcon@freecalypso.org> | 
|---|---|
| date | Mon, 21 Oct 2019 00:53:38 +0000 | 
| parents | |
| children | 
   comparison
  equal
  deleted
  inserted
  replaced
| -1:000000000000 | 0:0f9bdd60ce50 | 
|---|---|
| 1 ALL= gerbers.zip lcdtest1_pcb.ps lcdtest1_pcb.pdf | |
| 2 EXPARG= --fab-author 'Harhan Engineering Co.' | |
| 3 | |
| 4 all: ${ALL} | |
| 5 | |
| 6 .SUFFIXES: .ps .pdf | |
| 7 | |
| 8 .ps.pdf: | |
| 9 ps2pdf $*.ps | |
| 10 | |
| 11 lcdtest1_pcb.ps: lcdtest1.pcb | |
| 12 pcb -x ps --psfile $@ ${EXPARG} lcdtest1.pcb | |
| 13 | |
| 14 gerbers.d: lcdtest1.pcb | |
| 15 -rm -rf $@ | |
| 16 mkdir $@ | |
| 17 pcb -x gerber --gerberfile gerbers.d/lcdtest1 ${EXPARG} lcdtest1.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 lcdtest1.pcb- | |
| 25 rm -rf gerbers.* | 
