yosys/docs/source/code_examples/intro/Makefile

18 lines
300 B
Makefile
Raw Permalink Normal View History

PROGRAM_PREFIX :=
YOSYS ?= ../../../../$(PROGRAM_PREFIX)yosys
DOTS = counter_00.dot counter_01.dot counter_02.dot counter_03.dot
.PHONY: all dots examples
all: dots examples
dots: $(DOTS)
examples:
$(DOTS): counter.v counter.ys mycells.lib
$(YOSYS) counter.ys
.PHONY: clean
clean:
rm -f *.dot