From 20722ea0f5a136a3339156650f210fe30019fcfd Mon Sep 17 00:00:00 2001 From: Pixel Date: Tue, 2 Jun 2009 11:07:09 -0700 Subject: Adding native MINGW32 support. --- Makefile.mingw32 | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Makefile.mingw32 b/Makefile.mingw32 index 0184520..2cc1ee6 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 ../Mesa-7.0.3-mingw32/include \ -- cgit v1.2.3