Mate: exposed internal functions of BasicBlocks for external benchmarks
[mate.git] / Makefile
index c1712678a767f1f2d41ca01f3a7848e5b08af1e7..69884dc212cc7bcbe9257279eacb308fbb2f92ce 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -17,7 +17,8 @@ GHC_LD := -optl-Xlinker -optl-x
 all: mate $(CLASS_FILES)
 
 test: mate $(CLASS_FILES)
-       ./$<
+       ./$< tests/Fib.class
+       ./$< tests/Fac.class
 
 %.class: %.java
        $(JAVAC) $<
@@ -26,7 +27,7 @@ mate: Mate.hs ffi/trap.c $(HS_FILES)
        ghc --make $(GHC_OPT) Mate.hs ffi/trap.c -o $@ $(GHC_LD)
 
 clean:
-       rm -f {Mate/,}*.hi {Mate/,ffi,}*.o mate tests/*.class
+       rm -f {Mate/,}*.hi {Mate/,ffi/,}*.o mate tests/*.class
 
 ghci: mate
        ghci $(PACKAGES) $(O_FILES) Mate.hs $(GHC_LD)