summaryrefslogtreecommitdiff
path: root/Makefile.mingw32
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2009-03-23 11:10:13 -0700
committerPixel <pixel@nobis-crew.org>2009-03-23 11:10:13 -0700
commit6d594a8e1daac75217e0b6ffbf6d8e7fb6067246 (patch)
treee5fe033341685e47df247b4689a065cb17ffa50d /Makefile.mingw32
parent6f85bc57d5e91adde1335652cc9aa0b32d60191c (diff)
Adding mingw32 support under darwin.
Diffstat (limited to 'Makefile.mingw32')
-rw-r--r--Makefile.mingw328
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile.mingw32 b/Makefile.mingw32
index 54f87c0..d09b0d7 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-win32/include \