X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=makefile;h=82ddbdd7f223c4ed791640b5cbabf930559e7bd6;hb=02a34bf79286cd63edcc62e8610fe045feb1dd68;hp=c230b4bdeea355d0a0e80e82af23cc78a411afa1;hpb=c3d4eba6aa5ada928b351e9ec7c12c3077808ba7;p=spline3.git diff --git a/makefile b/makefile index c230b4b..82ddbdd 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 -caf-all src/*.hs + +profile-gcc: src/*.hs + ghc -optc-O2 -optc-march=native $(GHC_OPTS) -prof -auto-all -caf-all src/*.hs clean: rm -f bin/$(BIN)