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)