view duart28/src/Makefile @ 35:846ebd21db8e

duart28/design-spec: minor fixes in the so-far-written section
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 14 Jul 2020 19:01:29 +0000
parents 0073141010a2
children ace9b7659f7f
line wrap: on
line source

VSRCS=	vsrc/FT2232D_block.v vsrc/FT2232D_chip.v vsrc/USB_block.v \
	vsrc/application_block.v vsrc/board.v vsrc/eeprom_93Cx6_16bit.v \
	vsrc/regulator_ic.v vsrc/regulator_with_caps.v vsrc/target_if.v \
	vsrc/usb_conn.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 > $@

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

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