summaryrefslogtreecommitdiff
path: root/Makefile.mingw32
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2009-03-23 11:00:44 -0700
committerPixel <pixel@nobis-crew.org>2009-03-23 11:00:44 -0700
commit29b31f7584d80c9e4c500b76d72215e5c059446e (patch)
treeb2720ebfc777edb79226e3c0471bb0595f5a8351 /Makefile.mingw32
parent343f717c1d03b99cc25e27402cefddf6860525f6 (diff)
Adding better OpenGL glue.
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 ce41902..b196de2 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../mogltk/include \