diff options
author | Pixel <pixel@nobis-crew.org> | 2009-06-02 11:06:15 -0700 |
---|---|---|
committer | Pixel <pixel@nobis-crew.org> | 2009-06-02 11:04:25 -0700 |
commit | 1fbd78b5c9eac45c1e751a14ded649cc1cb1d53a (patch) | |
tree | de2b3a38c1ca4863e7e60de74a7095e8146afb13 /Makefile.mingw32 | |
parent | df4d257ad292a5d43706078c54bc11c20c733371 (diff) |
Adding native MINGW32 support.
Diffstat (limited to 'Makefile.mingw32')
-rw-r--r-- | Makefile.mingw32 | 7 |
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 \ |