view lunalcd2/src/Makefile @ 84:dbd57e8dd82a default tip

sim-fpc-pasv/pcb: add Makefile for Gerber output
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 02 Nov 2022 07:22:44 +0000
parents 000411b39576
children
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
BOMS=	tallied-bom.txt tallied-bom.csv comptab.txt
NETS=	sverp.unet bound.unet pcb-netlist.txt

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

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

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

comptab.txt:	MCL
	ueda-shortbom > $@

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

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

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