diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2011-01-23 00:20:20 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2011-01-23 00:20:20 +0000 |
commit | 9ccb9227c8f78d84b8be545b9859ae1c3e03165e (patch) | |
tree | 235bdb22a0271ca0614e95a94fe24ad5ecdb987b /Makefile | |
parent | ac8096964eb72d73ba2edf6787885af3b1cd0945 (diff) | |
download | netsurf-9ccb9227c8f78d84b8be545b9859ae1c3e03165e.tar.gz netsurf-9ccb9227c8f78d84b8be545b9859ae1c3e03165e.tar.bz2 |
Rudimentary msys support
svn path=/trunk/netsurf/; revision=11457
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -88,7 +88,16 @@ else TARGET := atari endif endif - + ifeq ($(findstring MINGW,$(HOST)),MINGW) + # MSYS' uname reports the likes of "MINGW32_NT-6.0" + HOST := windows + endif + ifeq ($(HOST),windows) + ifeq ($(TARGET),) + TARGET := windows + endif + endif + # Default target is GTK backend ifeq ($(TARGET),) TARGET := gtk @@ -197,6 +206,8 @@ else # mingw cross-compile CC := $(MINGW_PREFIX)gcc PKG_CONFIG := $(MINGW_INSTALL_ENV)/bin/pkg-config + else + # Building on Windows endif else ifeq ($(TARGET),amiga) |