Add a 'gcc' makefile target.
OPTIMIZATIONS := -O2
OPTIMIZATIONS += -fexcess-precision
OPTIMIZATIONS += -fno-spec-constr-count
-OPTIMIZATIONS += -optc-O2
-OPTIMIZATIONS += -optc-march=native
GHC_OPTS := $(OPTIMIZATIONS) \
$(GHC_WARNINGS) \
.PHONY : test publish_doc doc src_html hlint
$(BIN): src/*.hs
- ghc $(GHC_OPTS) src/*.hs
+ ghc -fllvm $(GHC_OPTS) src/*.hs
+
+gcc: src/*.hs
+ ghc -optc-O2 -optc-march=native $(GHC_OPTS) src/*.hs
all: $(BIN) test_src