diff options
Diffstat (limited to 'makefiles/Makefile.tools')
-rw-r--r-- | makefiles/Makefile.tools | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/makefiles/Makefile.tools b/makefiles/Makefile.tools index ccdbb80..a5148a2 100644 --- a/makefiles/Makefile.tools +++ b/makefiles/Makefile.tools @@ -60,6 +60,10 @@ else ifeq ($(HOST),AmigaOS) HOST := amiga endif + + ifeq ($(findstring MINGW,$(HOST)),MINGW) + HOST := windows + endif endif ifeq ($(TARGET),) @@ -195,7 +199,12 @@ endif # Windows ifeq ($(TARGET),windows) ifeq ($(HOST),windows) - $(error Compiling on Windows is not supported) + # Building on Windows + CC__ := gcc + CXX__ := g++ + AR__ := ar + + PKGCONFIG ?= else # Cross compiling for Windows -- assumes mingw toolchain MINGW_INSTALL_ENV ?= /usr/local/mingw |