summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authordarkvater <darkvater@openttd.org>2004-12-23 23:15:07 +0000
committerdarkvater <darkvater@openttd.org>2004-12-23 23:15:07 +0000
commit0fcc58b8ebb80879a90ecd963cab3c3f2d4bc5f8 (patch)
treed06140858079766ee57561cfa11935ab02bd272e /Makefile
parent194ecb51933948ee005718bbd9837f11d152f5ef (diff)
downloadopenttd-0fcc58b8ebb80879a90ecd963cab3c3f2d4bc5f8.tar.xz
(svn r1268) -Fix: some warnings in gfx.c fixed
-Fix: Makefile now correctly works for cygwin/mingw; altough defining only cygwin does not compile the game -Fix: moved SDL information message from severity 0 to 1. Only errors/severe warnings should be level 0
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index e63ee0526..40053510b 100644
--- a/Makefile
+++ b/Makefile
@@ -333,15 +333,17 @@ LDFLAGS += -static
endif
endif
-# If building on Cygwin/MingW don't link with Cygwin libs
+# If building on MingW don't link with Cygwin libs
ifdef WIN32
-ifdef MINGW
ifdef CYGWIN
+BASECFLAGS += -mwin32
+LDFLAGS += -mwin32
+endif
+ifdef MINGW
BASECFLAGS += -mno-cygwin
LDFLAGS += -mno-cygwin
endif
endif
-endif
CFLAGS += $(BASECFLAGS)