From 3e53ec5b705f4b31d36c8f6ffab743516a89b060 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sat, 11 Dec 2010 15:33:03 +0000 Subject: adde make file target for cfg_parser state graph png git-svn-id: https://svn.spreadspace.org/tcpproxy/trunk@53 e61f0598-a718-4e21-a8f0-0aadfa62ad6b --- src/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/Makefile') diff --git a/src/Makefile b/src/Makefile index 387fbec..4c5fe37 100644 --- a/src/Makefile +++ b/src/Makefile @@ -51,6 +51,12 @@ all: $(EXECUTABLE) cfg_parser.c: cfg_parser.rl $(RAGEL) -C -G2 -o $@ $< +cfg_parser.dot: cfg_parser.rl + $(RAGEL) -V -p -o $@ $< + +cfg_parser.png: cfg_parser.dot + @dot -Tpng $< > $@ + %.d: %.c @set -e; rm -f $@; \ $(CC) -MM $(CFLAGS) $< > $@.$$$$; \ @@ -82,6 +88,7 @@ clean: rm -f *.d rm -f *.d.* rm -f cfg_parser.c + rm -f cfg_parser.png cfg_parser.dot rm -f $(EXECUTABLE) cleanall: clean -- cgit v1.2.3