Harald Welte | b53e2bf | 2020-08-21 16:33:42 +0200 | [diff] [blame] | 1 | SUBDIRS = \ |
2 | examples \ | ||||
3 | manuals \ | ||||
4 | $(NULL) | ||||
5 | |||||
6 | msc: \ | ||||
7 | $(NULL) | ||||
8 | |||||
9 | dot: \ | ||||
10 | $(NULL) | ||||
11 | |||||
12 | $(builddir)/%.png: $(srcdir)/%.msc | ||||
13 | mscgen -T png -o $@ $< | ||||
14 | |||||
15 | $(builddir)/%.png: $(srcdir)/%.dot | ||||
16 | dot -Tpng $< > $@ | ||||
17 | |||||
18 | .PHONY: poll | ||||
19 | poll: | ||||
20 | while true; do $(MAKE) msc dot; sleep 1; done |