summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 \