wut.mk: don't depend on WUT_ROOT

Brings wut.mk in line with the other build systems - probably the last 
real love it'll get.
This commit is contained in:
Ash Logan 2019-04-09 18:29:44 +10:00
parent 96cf21131d
commit 5e784d292f

View File

@ -22,10 +22,8 @@ export DEVKITPPC ?= $(DEVKITPRO)/devkitPPC
# Pull in devkitPPC bits - this gets $(CC) and friends set up
include $(DEVKITPPC)/base_tools
# Make sure we have wut
ifeq ($(strip $(WUT_ROOT)),)
$(error "Please set WUT_ROOT in your environment.")
endif
# Have a guess at WUT_ROOT
export WUT_ROOT ?= $(DEVKITPRO)/wut
# Grab wut tools we need.
WUT_ELF2RPL := $(DEVKITPRO)/tools/bin/elf2rpl