mirror of
https://github.com/devkitPro/wut.git
synced 2026-08-28 05:45:03 -05:00
Fix Makefiles on OS X.
This commit is contained in:
2
Makefile
2
Makefile
@@ -1,4 +1,4 @@
|
||||
ifeq ($(shell uname -o),Cygwin)
|
||||
ifeq ($(shell uname -s),CYGWIN*)
|
||||
WUT_ROOT := $(shell cygpath -w ${CURDIR})
|
||||
else
|
||||
WUT_ROOT := $(CURDIR)
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user