From faa83d32ca7e665ed6b98b536606706fa8fe7a69 Mon Sep 17 00:00:00 2001 From: NĂ©lio Laranjeiro Date: Mon, 3 Mar 2008 23:31:57 +0100 Subject: Correct errors. --- digital/io/doc/makefile | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'digital/io/doc/makefile') diff --git a/digital/io/doc/makefile b/digital/io/doc/makefile index e0213364..23521af7 100644 --- a/digital/io/doc/makefile +++ b/digital/io/doc/makefile @@ -1,5 +1,11 @@ -fsm : mainFsm.dot chargeBall.dot getSamplesFsm.dot chuteFsm.dot - dot -Tpng -o mainFsm.png mainFsm.dot - dot -Tpng -o chargeBall.png chargeBall.dot - dot -Tpng -o getSamplesFsm.png getSamplesFsm.dot - dot -Tpng -o chuteFsm.png chuteFsm.dot \ No newline at end of file +DOT = mainFsm.dot chargeBall.dot getSamplesFsm.dot chuteFsm.dot + +PNG = $(DOT:%.dot=%.png) + +all: $(PNG) + +%.png: %.dot + dot -Tpng -o $@ $< + +clean: + rm -f $(PNG) -- cgit v1.2.3