From 9dd8fd69694a46e9b3f1f95c35198dba71a8a6b4 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Tue, 4 Dec 2018 16:03:35 +0100 Subject: diverses --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index a2fab8f..8e7ea8a 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,9 @@ -%.png: %.dot +%.in: %.dot + sed "$(shell sed 's/^#DEFINE \(\S\+\) \(.*\)$$/s@\1@\2@g/; t; d' "$<")" "$<" > "$@" + +%.png: %.in dot -Tpng -o$@ $< all: graph.png .PHONY: all - -- cgit v1.2.3-70-g09d2