summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2009-03-23 11:09:44 -0700
committerPixel <pixel@nobis-crew.org>2009-03-23 11:09:44 -0700
commitc1fe002b1cc743452514862a11d73a901e914a19 (patch)
tree2b2b973b947c01d3de5169351aa88a0ef174d357
parent8f63b3b76b864d7e569b78fa9acbab8ffeda66a5 (diff)
Adding mingw32 support under darwin.
-rw-r--r--Makefile.mingw328
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile.mingw32 b/Makefile.mingw32
index ddc0dc2..0184520 100644
--- a/Makefile.mingw32
+++ b/Makefile.mingw32
@@ -1,7 +1,15 @@
+SYSTEM=$(shell uname)
+ifeq ($(SYSTEM),Darwin)
+CC = i386-mingw32-gcc
+CXX = i386-mingw32-g++
+LD = i386-mingw32-g++
+STRIP = i386-mingw32-strip
+else
CC = i586-mingw32msvc-gcc
CXX = i586-mingw32msvc-g++
LD = i586-mingw32msvc-g++
STRIP = i586-mingw32msvc-strip
+endif
INCLUDES = \
-I ../Mesa-7.0.3-mingw32/include \