Fix Makefiles on OS X.

This commit is contained in:
dibas 2016-08-14 13:39:58 +02:00
parent f2e4e04805
commit 151e20c083
5 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
ifeq ($(shell uname -o),Cygwin)
ifeq ($(shell uname -s),CYGWIN*)
WUT_ROOT := $(shell cygpath -w ${CURDIR})
else
WUT_ROOT := $(CURDIR)

View File

@ -1,6 +1,6 @@
.SUFFIXES:
ifeq ($(shell uname -o),Cygwin)
ifeq ($(shell uname -s),CYGWIN*)
CUR_DIR := $(shell cygpath -w ${CURDIR})
else
CUR_DIR := $(CURDIR)

View File

@ -1,4 +1,4 @@
ifeq ($(shell uname -o),Cygwin)
ifeq ($(shell uname -s),CYGWIN*)
WUT_ROOT := $(shell cygpath -w ${WUT_ROOT})
else
WUT_ROOT := $(WUT_ROOT)

View File

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