view bb2fc/pcb/Makefile @ 7:6eb4cdc500be

lunalcd1: backlight resistors changed to 38.3R
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 01 Apr 2020 21:13:21 +0000
parents 0f9bdd60ce50
children
line wrap: on
line source

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

all:	${ALL}

.SUFFIXES:	.ps .pdf

.ps.pdf:
	ps2pdf $*.ps

bb2fc_pcb.ps:	bb2fc.pcb
	pcb -x ps --psfile $@ ${EXPARG} bb2fc.pcb

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

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

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