From b6746f7126ffec57776711d57e85e67c25235cc1 Mon Sep 17 00:00:00 2001 From: Adam Megacz Date: Tue, 26 Apr 2011 16:30:27 -0700 Subject: [PATCH] add Makefile target for tikz demo --- examples/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/examples/Makefile b/examples/Makefile index 362dd53..082c82e 100644 --- a/examples/Makefile +++ b/examples/Makefile @@ -3,3 +3,10 @@ all: `ls *.hs | grep -v Regex | grep -v Unify.hs | grep -v GArrowTikZ.hs ` +RTS -K500M ../../../inplace/bin/ghc-stage2 -dcore-lint -fforce-recomp \ RegexMatcher.hs Unify.hs GArrowTikZ.hs + +tikz: + mkdir .build + ../../../inplace/bin/ghc-stage2 -odir .build -hidir .build GArrowTikZ.hs Unify.hs + ./GArrowTikZ > .build/test.tex + cd .build; pdflatex test.tex + open .build/test.pdf -- 1.7.10.4