view lunalcd3/Makefile @ 81:6feb6db2c0bf

sim-fpc-pasv MCL: FPC connector footprint
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 25 Oct 2022 05:13:55 +0000
parents 48f3c5997dec
children
line wrap: on
line source

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

all:	${ALL}

.SUFFIXES:	.ps .pdf

.ps.pdf:
	ps2pdf $*.ps

lunalcd3_pcb.ps:	lunalcd3.pcb
	pcb -x ps --psfile $@ ${EXPARG} lunalcd3.pcb

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

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

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