view lunalcd2/src/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 38c713964bb7
children 907bff95244d
line wrap: on
line source

VSRCS=	vsrc/MAX1916.v vsrc/bl_current_sink.v vsrc/board.v \
	vsrc/current_select.v vsrc/lcd_module.v
NETS=	sverp.unet bound.unet pcb-netlist.txt

all:	${NETS}

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 $@

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