changeset 27:0f4f017616cb

fix Makefile
author Daichi TOMA <toma@cr.ie.u-ryukyu.ac.jp>
date Fri, 07 Feb 2014 01:29:50 +0900
parents 02e7f2f50bdc
children c1ad4362093d
files test/Makefile
diffstat 1 files changed, 13 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/test/Makefile	Tue Feb 04 02:33:27 2014 +0900
+++ b/test/Makefile	Fri Feb 07 01:29:50 2014 +0900
@@ -1,7 +1,17 @@
 # we should use cabal
-RCPUS = 4
-test: ParRead
+RCPUS = 12
+
+read: ParRead
 	./ParRead +RTS -K1G -N$(RCPUS)
 
 ParRead: ParRead.hs
-	ghc -O2 ParRead.hs -i.. -threaded
+	ghc -O2 ParRead.hs -i.. -threaded -rtsopts
+
+write: ParWrite
+	./ParWrite2 +RTS -K1G -N$(RCPUS)
+
+ParWrite: ParWrite2.hs
+	ghc -O2 ParWrite2.hs -i.. -threaded -rtsopts
+
+clean: 
+	rm *.o *.hi