view sim-fpc-pasv/pcb/Makefile @ 84:dbd57e8dd82a default tip

sim-fpc-pasv/pcb: add Makefile for Gerber output
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 02 Nov 2022 07:22:44 +0000
parents
children
line wrap: on
line source

ALL=	gerbers.zip
EXPARG=

all:	${ALL}

gerbers.d:	sim-fpc-pasv.pcb
	-rm -rf $@
	mkdir $@
	pcb -x gerber --gerberfile gerbers.d/simfpc ${EXPARG} sim-fpc-pasv.pcb

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

clean:
	rm -f *.ps *.pdf sim-fpc-pasv.pcb-
	rm -rf gerbers.*