3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-05-25 11:26:22 +00:00
yosys/docs/source/code_examples/opt/Makefile
2026-05-23 03:48:24 +00:00

18 lines
316 B
Makefile

include ../../../common.mk
DOT_NAMES = opt_share opt_muxtree opt_merge opt_expr
DOTS := $(addsuffix .dot,$(DOT_NAMES))
.PHONY: all dots examples
all: dots examples
dots: $(DOTS)
examples:
%.dot: %.ys
@$(YOSYS) $< >/dev/null 2>&1
@gvpack -u -o $@ $*_full.dot >/dev/null 2>&1
.PHONY: clean
clean:
@rm -f *.dot