scratch: sync sketch code for FFI,Signal...
[mate.git] / scratch / ffiTest / Makefile
diff --git a/scratch/ffiTest/Makefile b/scratch/ffiTest/Makefile
new file mode 100644 (file)
index 0000000..1dde1e4
--- /dev/null
@@ -0,0 +1,9 @@
+all: mate_support.c trapTest.hs
+       ghc -c mate_support.c
+       ghc --make trapTest.hs mate_support.o
+
+ghci: all
+       ghci -package containers -package random trapTest.o mate_support.o trapTest_stub.o trapTest.hs
+
+clean:
+       rm *.o *.hi trapTest trapTest_stub.c trapTest_stub.h