aboutsummaryrefslogtreecommitdiff
path: root/Makefile.win
diff options
context:
space:
mode:
authorAlexander <alex@cogarr.net>2020-02-24 13:08:21 -0500
committerAlexander <alex@cogarr.net>2020-02-24 13:08:21 -0500
commit377ca5d31a35009913a795c8542659e4872d7c35 (patch)
treea0bc1ed0e68813b27095c53904cbe48348da72b9 /Makefile.win
parent0d2de2ba9c616862d7881f089382db772d034f89 (diff)
downloadbrokengine-377ca5d31a35009913a795c8542659e4872d7c35.tar.gz
brokengine-377ca5d31a35009913a795c8542659e4872d7c35.tar.bz2
brokengine-377ca5d31a35009913a795c8542659e4872d7c35.zip
Fixed make for windows
Windows builds would break every time there was a windows update, removing the -shared compile flag seems to fix that.
Diffstat (limited to 'Makefile.win')
-rw-r--r--Makefile.win4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.win b/Makefile.win
index cd983cb..059b3f1 100644
--- a/Makefile.win
+++ b/Makefile.win
@@ -37,6 +37,10 @@ CLIENT_LIBS=\
#-lstdc++
CFLAGS+=-DNNG_STATIC_LIB
+ifeq ($(DEBUG), true)
+else
+ LDFLAGS += -mwindows
+endif
all : $(bins)
echo "Done"