3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-05-28 12:56:30 +00:00
yosys/docs/source/code_examples/opt/Makefile
Miodrag Milanovic a5a3828de8 Update CI scripts for CMake
Co-authored-by: Catherine <whitequark@whitequark.org>
2026-05-27 12:49:17 +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