view mmtb1/pcb/Makefile @ 61:df8f40386c0b

lunalcd2/src/Makefile: generate pcb-netlist.txt
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 25 Jun 2021 19:08:13 +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.*