From 8b2125f6060f93a6ce51bfb93e53dca50d9c9ed9 Mon Sep 17 00:00:00 2001 From: frank Date: Thu, 18 Apr 2024 02:04:35 -0400 Subject: [PATCH] add variable for overriding SDL config binary location --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index a2fea41..d326b75 100644 --- a/Makefile +++ b/Makefile @@ -32,8 +32,9 @@ GLEW_DIR := $(SB_LIB_DIR)/glew CC := gcc-12 CXX := g++-12 -# Location of SDL config program. See README.md for how to compile the SDL library and this utility. -SDLCONFIG := sdl2-config +# Location of SDL config program. See README.md for how to compile the SDL library and this utility. Define SDL_BIN_DIR when invoking +# make to use an alternate SDL installation location. +SDLCONFIG := $(SDL_BIN_DIR)sdl2-config ############################# # Based on above parameters #