1
0
mirror of git://projects.qi-hardware.com/wernermisc.git synced 2024-11-15 15:03:08 +02:00
wernermisc/m1r4/dsv/Makefile

26 lines
481 B
Makefile
Raw Normal View History

#
# Obtaining the BOM:
#
# - wget http://downloads.qi-hardware.com/hardware/milkymist_one/bom/rc3/milkymist_one_bom_rc3.ods
# - run ooffice or equivalent to save as CVS
# - edit to remove embedded newline
#
BOM = milkymist_one_bom_rc3.csv
.PHONY: all dsv clean spotless
all: dsv
dsv: BOOKSHELF
../../../eda-tools/dsv/dsv setup BOOKSHELF
BOOKSHELF: $(BOM) bomshelf SUPPLEMENT
./bomshelf $< >$@ || { rm -f $@; exit 1; }
clean:
rm -f BOOKSHELF
spotless:
rm -rf .dsv