Update cygwin makefile shenanigans.

This commit is contained in:
James Benton
2016-08-19 00:34:39 +01:00
parent eb4f5d6905
commit e6e886bdbd
10 changed files with 5 additions and 23 deletions

View File

@@ -4,7 +4,7 @@ ifeq ($(strip $(WUT_ROOT)),)
$(error "Please ensure WUT_ROOT is in your environment.")
endif
ifeq ($(shell uname -s),CYGWIN*)
ifeq ($(findstring CYGWIN,$(shell uname -s)),CYGWIN)
ROOT := $(shell cygpath -w ${CURDIR})
WUT_ROOT := $(shell cygpath -w ${WUT_ROOT})
else

View File

@@ -4,7 +4,7 @@ ifeq ($(strip $(WUT_ROOT)),)
$(error "Please ensure WUT_ROOT is in your environment.")
endif
ifeq ($(shell uname -s),CYGWIN*)
ifeq ($(findstring CYGWIN,$(shell uname -s)),CYGWIN)
ROOT := $(shell cygpath -w ${CURDIR})
WUT_ROOT := $(shell cygpath -w ${WUT_ROOT})
else