view lunalcd2/pcb/Makefile @ 78:7762ad7f61fe

lunalcd3.pcb: add orientation marker to U1
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 18 Nov 2021 07:44:45 +0000
parents a1d59c66a410
children
line wrap: on
line source

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

all:	${ALL}

.SUFFIXES:	.ps .pdf

.ps.pdf:
	ps2pdf $*.ps

lunalcd2_pcb.ps:	lunalcd2.pcb
	pcb -x ps --psfile $@ ${EXPARG} lunalcd2.pcb

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

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

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