From 1fbd78b5c9eac45c1e751a14ded649cc1cb1d53a Mon Sep 17 00:00:00 2001 From: Pixel Date: Tue, 2 Jun 2009 11:06:15 -0700 Subject: Adding native MINGW32 support. --- Makefile.mingw32 | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Makefile.mingw32') 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 \ -- cgit v1.2.3