still wtf
[mate.git] / Makefile
index 7bc23cfc42fe8bf023ba07e6cb825eab0ecbd8b9..ea512ef10ec10585b8ecfb8d9027762500d444fc 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,11 +1,10 @@
-all: mate Test.class
-       ./mate Test.class
+NAME := stackoverflow_segv
 
-%.class: %.java
-       javac $<
+all: $(NAME)
+       ./$<
 
-mate: Mate.hs trap.c
+$(NAME): Main.hs
        ghc --make -Wall -O2 $^ -o $@
 
 clean:
-       rm -f *.hi *.o mate
+       rm -f *.hi *.o $(NAME)