view lcdtest1/pcb/Makefile @ 39:e0b83c75df08

duart28/src/MCL: value attribute was wrong on the tantalum cap
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 24 Jul 2020 20:20:55 +0000
parents 0f9bdd60ce50
children
line wrap: on
line source

ALL=	gerbers.zip lcdtest1_pcb.ps lcdtest1_pcb.pdf
EXPARG=	--fab-author 'Harhan Engineering Co.'

all:	${ALL}

.SUFFIXES:	.ps .pdf

.ps.pdf:
	ps2pdf $*.ps

lcdtest1_pcb.ps:	lcdtest1.pcb
	pcb -x ps --psfile $@ ${EXPARG} lcdtest1.pcb

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

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

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