diff options
author | tomsmeding <tom.smeding@gmail.com> | 2017-01-25 23:14:52 +0100 |
---|---|---|
committer | tomsmeding <tom.smeding@gmail.com> | 2017-01-25 23:14:52 +0100 |
commit | bc879a89174cd7f070e9d279ee89bbbc2e408055 (patch) | |
tree | 7738a00396d377ea06a4cc4afeafcf049f1e9f8f /Makefile | |
parent | 42e484fd8552d480becafcfecbaeac826466b88c (diff) |
Compile simple expressions
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -1,5 +1,11 @@ GHC = ghc -GHCFLAGS = -Wall -Wno-type-defaults -O3 +GHCFLAGS = -Wall -Wno-type-defaults +ifneq ($(DEBUG),) + GHCFLAGS += -prof -fprof-auto -fprof-cafs +endif +ifneq ($(OPT),) + GHCFLAGS += -O3 +endif TARGET = main |