view mmtb1/pcb/Makefile @ 10:f8735d13a3ea

lunalcd1.pcb: layout started, close to complete
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 02 Apr 2020 22:41:19 +0000
parents 070b11b83958
children
line wrap: on
line source

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

all:	${ALL}

.SUFFIXES:	.ps .pdf

.ps.pdf:
	ps2pdf $*.ps

mmtb1_pcb.ps:	mmtb1.pcb
	pcb -x ps --psfile $@ ${EXPARG} mmtb1.pcb

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

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

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