.PHONY : test publish_doc doc src_html hlint
$(BIN): src/*.hs
- ghc -fllvm $(GHC_OPTS) src/*.hs
+ ghc -optc-O3 -optc-march=native $(GHC_OPTS) src/*.hs
-gcc: src/*.hs
- ghc -optc-O2 -optc-march=native $(GHC_OPTS) src/*.hs
+llvm: src/*.hs
+ ghc -fllvm $(GHC_OPTS) src/*.hs
all: $(BIN) test_src
ghc $(GHC_OPTS) src/*.hs src/Tests/*.hs
profile: src/*.hs
- ghc -fllvm $(GHC_OPTS) -prof -auto-all -caf-all src/*.hs
+ ghc -optc-O3 -optc-march=native $(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
+profile-llvm: src/*.hs
+ ghc -fllvm $(GHC_OPTS) -prof -auto-all -caf-all src/*.hs
clean:
rm -f bin/$(BIN)