trapping code: transition from native to haskell rts
[mate.git] / Makefile
index 8965f9a14eb43c198cb081565f19ef0abb2f4f21..7bc23cfc42fe8bf023ba07e6cb825eab0ecbd8b9 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -4,8 +4,8 @@ all: mate Test.class
 %.class: %.java
        javac $<
 
-mate: Mate.hs
-       ghc --make -O2 $< -o $@
+mate: Mate.hs trap.c
+       ghc --make -Wall -O2 $^ -o $@
 
 clean:
        rm -f *.hi *.o mate