summaryrefslogtreecommitdiff
path: root/Makefile.mingw32
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2009-06-02 11:06:15 -0700
committerPixel <pixel@nobis-crew.org>2009-06-02 11:04:25 -0700
commit1fbd78b5c9eac45c1e751a14ded649cc1cb1d53a (patch)
treede2b3a38c1ca4863e7e60de74a7095e8146afb13 /Makefile.mingw32
parentdf4d257ad292a5d43706078c54bc11c20c733371 (diff)
Adding native MINGW32 support.
Diffstat (limited to 'Makefile.mingw32')
-rw-r--r--Makefile.mingw327
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile.mingw32 b/Makefile.mingw32
index 9071aa5..0174c3b 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../mogltk/include \