# HG changeset patch # User Mychaela Falconia # Date 1585872123 0 # Node ID ee17927ee3268d19ef7573ec19bbfeef6840fbf3 # Parent e4f0ea46183a6b354171d6768bc52ec811d2dced lunalcd1/pcb/Makefile added diff -r e4f0ea46183a -r ee17927ee326 .hgignore --- a/.hgignore Thu Apr 02 23:26:47 2020 +0000 +++ b/.hgignore Fri Apr 03 00:02:03 2020 +0000 @@ -15,6 +15,7 @@ ^lcdtest1/pcb/gerbers\. ^lcdtest1/schem\+bom/elements\.pcb$ +^lunalcd1/pcb/gerbers\. ^lunalcd1/src/elements\.pcb$ ^mmtb1/pcb/gerbers\. diff -r e4f0ea46183a -r ee17927ee326 lunalcd1/pcb/Makefile --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/lunalcd1/pcb/Makefile Fri Apr 03 00:02:03 2020 +0000 @@ -0,0 +1,25 @@ +ALL= gerbers.zip lunalcd1_pcb.ps lunalcd1_pcb.pdf +EXPARG= + +all: ${ALL} + +.SUFFIXES: .ps .pdf + +.ps.pdf: + ps2pdf $*.ps + +lunalcd1_pcb.ps: lunalcd1.pcb + pcb -x ps --psfile $@ ${EXPARG} lunalcd1.pcb + +gerbers.d: lunalcd1.pcb + -rm -rf $@ + mkdir $@ + pcb -x gerber --gerberfile gerbers.d/lunalcd1 ${EXPARG} lunalcd1.pcb + +gerbers.zip: gerbers.d + -rm -f $@ + cd gerbers.d; zip ../gerbers.zip * + +clean: + rm -f *.ps *.pdf lunalcd1.pcb- + rm -rf gerbers.*