From: Sandro Santilli Date: Wed, 13 Apr 2005 14:24:34 +0000 (+0000) Subject: Added MINGW support as suggested by David Techer. X-Git-Tag: pgis_1_0_0~12 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bd2cd7843cbb63f007a4280e2b7f6d7b35b044da;p=postgis Added MINGW support as suggested by David Techer. git-svn-id: http://svn.osgeo.org/postgis/trunk@1610 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/loader/Makefile b/loader/Makefile index 70710dc6d..fa5cd7009 100644 --- a/loader/Makefile +++ b/loader/Makefile @@ -8,7 +8,11 @@ SHELL = /bin/sh subdir = contrib/postgis/loader EXE = -ifeq ($(findstring CYGWIN,$(shell uname)),CYGWIN) +UNAME = $(shell uname) +ifeq ($(findstring CYGWIN,$(UNAME)),CYGWIN) + EXE = .exe +endif +ifeq ($(findstring MINGW,$(UNAME)),MINGW) EXE = .exe endif