view lunakpd1/src/Makefile @ 15:36a6ba7f30ca

lunakpd1 placetool written
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 09 May 2020 05:11:54 +0000
parents c016671a4b4a
children
line wrap: on
line source

BOMS=	tallied-bom.txt tallied-bom.csv comptab.txt
NETS=	sverp.unet bound.unet pcb-netlist.txt

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

sverp.unet:	schem.v pushbutton_wrap.v primitives
	ueda-sverp -o $@ schem.v pushbutton_wrap.v

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*