view mmtb1/schem+bom/Makefile @ 79:48f3c5997dec

lunalcd3: add Makefile for Gerber output generation
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 04 Dec 2021 22:28:05 +0000
parents 0f9bdd60ce50
children
line wrap: on
line source

VSRCS=	vsrc/board.v vsrc/interface.v vsrc/led_circuit.v vsrc/pushbutton_wrap.v\
	vsrc/sim_socket_block.v vsrc/uart_bringout.v
BOMS=	tallied-bom.txt tallied-bom.csv comptab.txt
NETS=	sverp.unet bound.unet pcb-netlist.txt

all:	${BOMS} ${NETS} elements.pcb

sverp.unet:	${VSRCS} primitives Makefile
	ueda-sverp -o $@ ${VSRCS}

bound.unet:	MCL sverp.unet
	unet-bind -c sverp.unet $@

pcb-netlist.txt:	bound.unet
	unet2pcb bound.unet $@

tallied-bom.txt:	MCL
	ueda-mkbom -cr > $@

tallied-bom.csv:	MCL
	ueda-csvbom > $@

comptab.txt:	MCL
	ueda-shortbom > $@

elements.pcb:	MCL
	ueda-getfps -ch | ueda-runm4 > $@

clean:
	rm -f *.unet *.txt *.csv errs elements.pcb