aboutsummaryrefslogtreecommitdiffstats
path: root/icemulti/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'icemulti/Makefile')
-rw-r--r--icemulti/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/icemulti/Makefile b/icemulti/Makefile
index c901413..009889e 100644
--- a/icemulti/Makefile
+++ b/icemulti/Makefile
@@ -2,6 +2,10 @@ include ../config.mk
LDLIBS = -lm -lstdc++
CXXFLAGS = -MD -O0 -ggdb -Wall -std=c++11
+ifeq ($(STATIC),1)
+LDFLAGS += -static
+endif
+
all: icemulti$(EXE)
icemulti$(EXE): icemulti.o