From: Michael Orlitzky Date: Mon, 5 Sep 2011 21:04:31 +0000 (-0400) Subject: Make a LLVM/GCC distinction in the profile targets. X-Git-Tag: 0.0.1~160 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=9827ccf1a373cd914ce9bd8327adbcc6fe213685;p=spline3.git Make a LLVM/GCC distinction in the profile targets. --- diff --git a/makefile b/makefile index c230b4b..e8d1ef0 100644 --- a/makefile +++ b/makefile @@ -40,7 +40,10 @@ test_src: src/Tests/*.hs ghc $(GHC_OPTS) src/*.hs src/Tests/*.hs profile: src/*.hs - ghc $(GHC_OPTS) -prof -auto-all src/*.hs + ghc -fllvm $(GHC_OPTS) -prof -auto-all src/*.hs + +profile-gcc: src/*.hs + ghc -optc-O2 -optc-march=native $(GHC_OPTS) -prof -auto-all src/*.hs clean: rm -f bin/$(BIN)