1
0
mirror of git://projects.qi-hardware.com/wernermisc.git synced 2024-12-31 00:46:50 +02:00
wernermisc/m1r4/dsv/Makefile

26 lines
478 B
Makefile
Raw Normal View History

#
# Obtaining the BOM:
#
# - wget http://downloads.qi-hardware.com/hardware/milkymist_one/bom/r4/milkymist_one_bom_r4.ods
# - run ooffice or equivalent to save as CVS
# - edit to remove embedded newline
#
BOM = milkymist_one_bom_r4.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