# HG changeset patch # User Mychaela Falconia # Date 1589012006 0 # Node ID b3dffadff2875dfbefe2215ffbb5991c985c76fc # Parent 8d93467a4260f28e360119dcf59f271fe121236b lunakpd1/pcb/Makefile added diff -r 8d93467a4260 -r b3dffadff287 .hgignore --- a/.hgignore Sat May 09 08:08:42 2020 +0000 +++ b/.hgignore Sat May 09 08:13:26 2020 +0000 @@ -15,6 +15,7 @@ ^lcdtest1/pcb/gerbers\. ^lcdtest1/schem\+bom/elements\.pcb$ +^lunakpd1/pcb/gerbers\. ^lunakpd1/placetool/placetool$ ^lunakpd1/src/elements\.pcb$ diff -r 8d93467a4260 -r b3dffadff287 lunakpd1/pcb/Makefile --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/lunakpd1/pcb/Makefile Sat May 09 08:13:26 2020 +0000 @@ -0,0 +1,25 @@ +ALL= gerbers.zip lunakpd1_pcb.ps lunakpd1_pcb.pdf +EXPARG= + +all: ${ALL} + +.SUFFIXES: .ps .pdf + +.ps.pdf: + ps2pdf $*.ps + +lunakpd1_pcb.ps: lunakpd1.pcb + pcb -x ps --psfile $@ ${EXPARG} lunakpd1.pcb + +gerbers.d: lunakpd1.pcb + -rm -rf $@ + mkdir $@ + pcb -x gerber --gerberfile gerbers.d/lunakpd1 ${EXPARG} lunakpd1.pcb + +gerbers.zip: gerbers.d + -rm -f $@ + cd gerbers.d; zip ../gerbers.zip * + +clean: + rm -f *.ps *.pdf lunakpd1.pcb- + rm -rf gerbers.*