Merge pull request #35 from dibas/master

Allow wut to build on OS X, fix helloworld example makefile
This commit is contained in:
James 2016-08-14 23:56:23 +01:00 committed by GitHub
commit 7c3022863a
6 changed files with 7 additions and 7 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

@ -7,7 +7,7 @@ Doxygen output can be found at https://decaf-emu.github.io/wut
## Requirements
- devkitPRO + devkitPPC
- Only tested on Linux so far
- Only tested on Linux and OS X so far
## Usage
- git clone --recursive https://github.com/decaf-emu/wut.git

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
@ -18,7 +18,7 @@ BUILD := build
SOURCE := src
INCLUDE := include
DATA := data
LIBS := -lcoreinit -lproc_ui -lsysapp
LIBS := -lgcc -lcrt -lcoreinit -lproc_ui -lsysapp
CFLAGS += -O2 -Wall -std=c11
CXXFLAGS += -O2 -Wall

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