Allow compiling dot resources

This commit is contained in:
Valentin Brandl
2021-11-11 16:43:53 +01:00
parent c7a4fa3f94
commit 704e6b85b3
2 changed files with 24 additions and 3 deletions

13
assets/dot/Makefile Normal file
View File

@ -0,0 +1,13 @@
DOT = $(wildcard *.dot)
PDF = $(DOT:.dot=.pdf)
.PHONY: build
build: $(PDF)
%.pdf: %.dot
dot -Tpdf $< -o $@
.PHONY: clean
clean:
rm -f *.pdf