1
0
mirror of git://projects.qi-hardware.com/wernermisc.git synced 2024-11-15 10:50:37 +02:00
wernermisc/m1r4/dsv/Makefile
2012-03-09 16:37:19 -03:00

26 lines
478 B
Makefile

#
# 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