yosys/docs/source/code_examples/example_synth/Makefile

16 lines
274 B
Makefile

PROGRAM_PREFIX :=
YOSYS ?= ../../../../$(PROGRAM_PREFIX)yosys
DOTS = control_hier.dot control_proc.dot
DOTS += example_hier.dot
dots: $(DOTS) example.out
$(DOTS) example.out: example.v example.ys
$(YOSYS) example.ys -l example.out -Q
.PHONY: clean
clean:
rm -f *.dot