summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile
index 7c0273485..421409280 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -69,6 +69,10 @@ endif
all: unix gfdoc $(BUILD_JAR) lib
+static: GHCFLAGS += -optl-static
+static: unix
+
+
gf: unix
unix: today opt