HaskProof: make the succedent level part of the judgment
[coq-hetmet.git] / examples / Makefile
1 ghc_opt := -fwarn-incomplete-patterns -Werror
2
3 open:
4         make demo
5         open .build/test.pdf
6
7 all:
8         ../../../inplace/bin/ghc-stage2 -dcore-lint -fforce-recomp -fcoqpass -ddump-coqpass -ddump-to-file \
9                 `ls *.hs | grep -v Regex | grep -v Unify.hs | grep -v GArrowTikZ.hs ` +RTS -K500M 
10         ../../../inplace/bin/ghc-stage2 -dcore-lint -fforce-recomp \
11                 RegexMatcher.hs Unify.hs GArrowTikZ.hs
12
13 demo:
14         mkdir -p .build
15         ../../../inplace/bin/ghc-stage2 $(ghc_opt) -odir .build -hidir .build -c Demo.hs -fforce-recomp
16         ../../../inplace/bin/ghc-stage2 $(ghc_opt) -odir .build -hidir .build --show-iface .build/Demo.hi
17         ../../../inplace/bin/ghc-stage2 $(ghc_opt) -odir .build -hidir .build GArrowTikZ.hs Demo.hs DemoMain.hs Unify.hs -o .build/demo
18         ./.build/demo > .build/test.tex
19         cd .build; pdflatex test.tex