From 5b1a7cd28a0b5de457e0996e0ba688ef7afc809f Mon Sep 17 00:00:00 2001 From: Maschell Date: Fri, 13 Jul 2018 19:26:22 +0200 Subject: [PATCH] Add a check to the Makefile if the "DEVKITPRO" variable was set. --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 24c9772..52714b3 100644 --- a/Makefile +++ b/Makefile @@ -6,6 +6,9 @@ DO_LOGGING := 0 ifeq ($(strip $(DEVKITPPC)),) $(error "Please set DEVKITPPC in your environment. export DEVKITPPC=devkitPPC) endif +ifeq ($(strip $(DEVKITPRO)),) +$(error "Please set DEVKITPRO in your environment. export DEVKITPRO=DEVKITPRO) +endif export PATH := $(DEVKITPPC)/bin:$(PORTLIBS)/bin:$(PATH) export PORTLIBS := $(DEVKITPRO)/portlibs/ppc