From 9827ccf1a373cd914ce9bd8327adbcc6fe213685 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Mon, 5 Sep 2011 17:04:31 -0400 Subject: [PATCH] Make a LLVM/GCC distinction in the profile targets. --- makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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) -- 2.43.2