view lcr0402/Makefile @ 77:4c5675c79555

lunalcd3.pcb: add orientation marker to SW1
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 18 Nov 2021 07:40:13 +0000
parents 91798685fd8d
children
line wrap: on
line source

ALL=	gerbers.zip lcr0402_pcb.ps lcr0402_pcb.pdf
EXPARG=

all:	${ALL}

.SUFFIXES:	.ps .pdf

.ps.pdf:
	ps2pdf $*.ps

lcr0402_pcb.ps:	lcr0402.pcb
	pcb -x ps --psfile $@ ${EXPARG} lcr0402.pcb

gerbers.d:	lcr0402.pcb
	-rm -rf $@
	mkdir $@
	pcb -x gerber --gerberfile gerbers.d/lcr0402 ${EXPARG} lcr0402.pcb

gerbers.zip:	gerbers.d
	-rm -f $@
	cd gerbers.d; zip ../gerbers.zip *

clean:
	rm -f *.ps *.pdf lcr0402.pcb-
	rm -rf gerbers.*