summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2009-06-02 11:07:09 -0700
committerPixel <pixel@nobis-crew.org>2009-06-02 11:07:10 -0700
commit20722ea0f5a136a3339156650f210fe30019fcfd (patch)
tree40b799f5420d3898bce4c0f4efeb85f41bb857a2
parente1fbd9d5d5bd29935381c8a296dd95a4959fd4dc (diff)
Adding native MINGW32 support.
-rw-r--r--Makefile.mingw327
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile.mingw32 b/Makefile.mingw32
index 0184520..2cc1ee6 100644
--- a/Makefile.mingw32
+++ b/Makefile.mingw32
@@ -5,11 +5,18 @@ CXX = i386-mingw32-g++
LD = i386-mingw32-g++
STRIP = i386-mingw32-strip
else
+ifeq ($(SYSTEM),MINGW32_NT-5.1)
+CC = gcc
+CXX = g++
+LD = g++
+strip = strip
+else
CC = i586-mingw32msvc-gcc
CXX = i586-mingw32msvc-g++
LD = i586-mingw32msvc-g++
STRIP = i586-mingw32msvc-strip
endif
+endif
INCLUDES = \
-I ../Mesa-7.0.3-mingw32/include \