view mmtb1/pcb/Makefile @ 19:b3dffadff287

lunakpd1/pcb/Makefile added
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 09 May 2020 08:13:26 +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.*