# HG changeset patch # User Daichi TOMA # Date 1391704190 -32400 # Node ID 0f4f017616cb2e84ecebecc2db86d1226f07c769 # Parent 02e7f2f50bdc1ebdbdf142dbf3ac1d0deab32237 fix Makefile diff -r 02e7f2f50bdc -r 0f4f017616cb test/Makefile --- 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