remove RJoin rule
[coq-hetmet.git] / examples / Makefile
index c89fb10..1ee6f7f 100644 (file)
@@ -4,11 +4,23 @@ open:
        make demo
        open .build/test.pdf
 
-all:
-       ../../../inplace/bin/ghc-stage2 -dcore-lint -fforce-recomp -fcoqpass -ddump-coqpass -ddump-to-file \
-               `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
+#sanity += BiGArrow.hs
+#sanity += CircuitExample.hs
+sanity += CommandSyntaxExample.hs
+sanity += DotProduct.hs
+sanity += GArrowTutorial.hs
+sanity += GArrowVerilog.hs
+sanity += ImmutableHeap.hs
+sanity += IsomorphismForCodeTypes.hs
+sanity += LambdaCalculusInterpreter.hs
+sanity += TypeSafeRun.hs
+sanity += Unflattening.hs
+
+sanity_opts = -dcore-lint -fforce-recomp -fcoqpass -ddump-coqpass -ddump-to-file
+
+sanity:
+       for A in $(sanity); do ../../../inplace/bin/ghc-stage2 $(sanity_opts) $$A +RTS -K500M || exit -1; done
+
 
 demo:
        mkdir -p .build