1
0
mirror of git://projects.qi-hardware.com/wernermisc.git synced 2024-12-01 03:18:25 +02:00
wernermisc/m1r4/dsv/Makefile

26 lines
484 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 EXTRA
BOOKSHELF: $(BOM) bomshelf SUPPLEMENT
./bomshelf $< >$@ || { rm -f $@; exit 1; }
clean:
rm -f BOOKSHELF
spotless:
rm -rf .dsv