# https://github.com/ironcamel/Graph-Easy
.SUFFIXES: .getxt .diag .html
.getxt.diag: box.sh
graph-easy < $< | sh box.sh > $@
.diag.html:
(cat $<; echo; echo '') > $@
DIAG?=diag
test:
ls box.sh $(DIAG).getxt Makefile | entr sh -c 'make $(DIAG).diag && cat $(DIAG).diag'