]> gitweb.michael.orlitzky.com - spline3.git/commitdiff
Add -caf-all to the profile targets.
authorMichael Orlitzky <michael@orlitzky.com>
Thu, 8 Sep 2011 18:20:44 +0000 (14:20 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Thu, 8 Sep 2011 18:20:44 +0000 (14:20 -0400)
makefile

index e8d1ef0d983949d596725b94f200e7b5531e91a4..82ddbdd7f223c4ed791640b5cbabf930559e7bd6 100644 (file)
--- a/makefile
+++ b/makefile
@@ -40,10 +40,10 @@ test_src: src/Tests/*.hs
        ghc $(GHC_OPTS) src/*.hs src/Tests/*.hs
 
 profile: src/*.hs
-       ghc -fllvm $(GHC_OPTS) -prof -auto-all src/*.hs
+       ghc -fllvm $(GHC_OPTS) -prof -auto-all -caf-all src/*.hs
 
 profile-gcc: src/*.hs
-       ghc  -optc-O2 -optc-march=native $(GHC_OPTS) -prof -auto-all src/*.hs
+       ghc  -optc-O2 -optc-march=native $(GHC_OPTS) -prof -auto-all -caf-all src/*.hs
 
 clean:
        rm -f bin/$(BIN)