view lunalcd1/pcb/Makefile @ 68:8bfa10553e36

lunalcd2/src/MCL: different part for two-post VBAT supply header The tin-plated part is currently out of stock at Digi-Key, but the better gold-plated part is in stock and still reasonably inexpensive.
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 26 Jun 2021 20:40:29 +0000
parents ee17927ee326
children
line wrap: on
line source

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.*