annotate Makefile @ 1:3d8102358d9c default tip

fix makefile
author Daichi TOMA <toma@cr.ie.u-ryukyu.ac.jp>
date Tue, 11 Feb 2014 19:14:33 +0900
parents 62ce408561ac
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
62ce408561ac add hello
Daichi TOMA <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1 # we should use cabal
62ce408561ac add hello
Daichi TOMA <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
2 RCPUS = 12
62ce408561ac add hello
Daichi TOMA <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
3
62ce408561ac add hello
Daichi TOMA <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
4 default: hello
1
3d8102358d9c fix makefile
Daichi TOMA <toma@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
5 ./hello +RTS -N$(RCPUS) -qa -A32m
0
62ce408561ac add hello
Daichi TOMA <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
6
62ce408561ac add hello
Daichi TOMA <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
7 hello: *.hs
62ce408561ac add hello
Daichi TOMA <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
8 ghc -O2 hello.hs -rtsopts -threaded
62ce408561ac add hello
Daichi TOMA <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
9
62ce408561ac add hello
Daichi TOMA <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
10 clean:
62ce408561ac add hello
Daichi TOMA <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
11 rm *.o *.hi hello