Add a check to the Makefile if the "DEVKITPRO" variable was set.

This commit is contained in:
Maschell 2018-07-13 19:26:22 +02:00
parent 689e368b26
commit 5b1a7cd28a

View File

@ -6,6 +6,9 @@ DO_LOGGING := 0
ifeq ($(strip $(DEVKITPPC)),)
$(error "Please set DEVKITPPC in your environment. export DEVKITPPC=<path to>devkitPPC)
endif
ifeq ($(strip $(DEVKITPRO)),)
$(error "Please set DEVKITPRO in your environment. export DEVKITPRO=<path to>DEVKITPRO)
endif
export PATH := $(DEVKITPPC)/bin:$(PORTLIBS)/bin:$(PATH)
export PORTLIBS := $(DEVKITPRO)/portlibs/ppc