changeset 9:6a406b315240

add makefile
author Daichi TOMA <toma@cr.ie.u-ryukyu.ac.jp>
date Fri, 07 Feb 2014 04:53:51 +0900
parents 3f47943ccc5f
children bb7ee8f9d8d7
files Makefile
diffstat 1 files changed, 11 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Makefile	Fri Feb 07 04:53:51 2014 +0900
@@ -0,0 +1,11 @@
+# we should use cabal
+RCPUS = 12
+
+default: App
+	./App +RTS -K1G -N$(RCPUS)
+
+App: *.hs
+	ghc -O2 App.hs -i../Jungle-haskell -rtsopts -threaded
+
+clean: 
+	rm *.o *.hi App