view duart28/src/Makefile @ 23:22aba3a61a4b

duart28: vsrc passes sverp
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 13 Jun 2020 06:38:05 +0000
parents 54e5edfe2f04
children 0073141010a2
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

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}

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