File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,15 +7,18 @@ UNAME_R := $(shell uname -r)
77ifneq (,$(findstring Darwin,$(UNAME_S)))
88 export SHELL=/bin/bash
99endif
10+
1011#---------------------------------------------------------------------------------
1112# path to tools
1213#---------------------------------------------------------------------------------
13- export PATH := $(DEVKITPRO)/devkitA64/bin:$(PATH)
14+ DEVKITPATH=$(shell echo "$(DEVKITPRO)" | sed -e 's/^\([a-zA-Z]\):/\/\1/')
15+ export PATH := $(DEVKITPATH)/devkitA64/bin:$(PATH)
1416
1517#---------------------------------------------------------------------------------
1618# add portlibs path
1719#---------------------------------------------------------------------------------
18- export PORTLIBS_PATH := $(DEVKITPRO)/portlibs
20+ export PORTLIBS_PATH := $(DEVKITPATH)/portlibs
21+
1922
2023#---------------------------------------------------------------------------------
2124# the prefix on the compiler executables
You can’t perform that action at this time.
0 commit comments