3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-06-10 08:03:26 +00:00

docs: Makefile tidying

examples and dots are now orthogonal.
This commit is contained in:
Krystine Sherwin 2024-10-07 21:56:23 +13:00
parent 2e1181a092
commit 468a019c30
No known key found for this signature in database
12 changed files with 35 additions and 22 deletions

View file

@ -6,13 +6,13 @@ DOT_NAMES = opt_share opt_muxtree opt_merge opt_expr
DOTS := $(addsuffix .dot,$(DOT_NAMES))
all: dots
.PHONY: all dots examples
all: dots examples
dots: $(DOTS)
examples:
%_full.dot: %.ys
%.dot: %.ys
$(YOSYS) $<
%.dot: %_full.dot
gvpack -u -o $@ $*_full.dot
.PHONY: clean