view mmtb1/pcb/Makefile @ 71:31c8b1291b4a

lunalcd3 project started
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 18 Nov 2021 04:59:47 +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.*