summaryrefslogtreecommitdiff
path: root/Makefile
blob: 4eb1d86cb847f69af885263db05eebb7bf4def04 (plain)
1
2
3
4
5
6
7
8
9
10
all: graph.png
	pkill -SIGUSR1 -f 'feh (.* )*graph\.png( .*)*'

%.in: %.dot
	sed "$(shell sed 's/^#DEFINE \(\S\+\) \(.*\)$$/s@\1@\2@g/; t; d' "$<")" "$<" > "$@"

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

.PHONY: all