FreeCalypso > hg > fc-small-hw
diff 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 |
line wrap: on
line diff
--- /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.*