summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 1e533bf..dfc9a19 100644
--- a/Makefile
+++ b/Makefile
@@ -386,6 +386,14 @@ else
DEFINES += -O3 -DNDEBUG=1
endif
+ifneq (,$(findstring msvc,$(platform)))
+ifeq ($(DEBUG),1)
+DEFINES += -MTd
+else
+DEFINES += -MT
+endif
+endif
+
LDFLAGS += $(LIBM)
include Makefile.common