summaryrefslogtreecommitdiff
path: root/Makefile
blob: 8e7ea8ae6597db412aeb2ba33bd3c9b173fc0964 (plain)
1
2
3
4
5
6
7
8
9
%.in: %.dot
	sed "$(shell sed 's/^#DEFINE \(\S\+\) \(.*\)$$/s@\1@\2@g/; t; d' "$<")" "$<" > "$@"

%.png: %.in
	dot -Tpng -o$@ $<

all: graph.png

.PHONY: all