remove RJoin rule
[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 #sanity += BiGArrow.hs
8 #sanity += CircuitExample.hs
9 sanity += CommandSyntaxExample.hs
10 sanity += DotProduct.hs
11 sanity += GArrowTutorial.hs
12 sanity += GArrowVerilog.hs
13 sanity += ImmutableHeap.hs
14 sanity += IsomorphismForCodeTypes.hs
15 sanity += LambdaCalculusInterpreter.hs
16 sanity += TypeSafeRun.hs
17 sanity += Unflattening.hs
18
19 sanity_opts = -dcore-lint -fforce-recomp -fcoqpass -ddump-coqpass -ddump-to-file
20
21 sanity:
22         for A in $(sanity); do ../../../inplace/bin/ghc-stage2 $(sanity_opts) $$A +RTS -K500M || exit -1; done
23
24
25 demo:
26         mkdir -p .build
27         ../../../inplace/bin/ghc-stage2 $(ghc_opt) -odir .build -hidir .build -c Demo.hs -fforce-recomp
28         ../../../inplace/bin/ghc-stage2 $(ghc_opt) -odir .build -hidir .build --show-iface .build/Demo.hi
29         ../../../inplace/bin/ghc-stage2 $(ghc_opt) -odir .build -hidir .build GArrowTikZ.hs Demo.hs DemoMain.hs Unify.hs -o .build/demo
30         ./.build/demo > .build/test.tex
31         cd .build; pdflatex test.tex