add variable for overriding SDL config binary location

This commit is contained in:
ohsqueezy 2024-04-18 02:04:35 -04:00
parent 15f730a3d5
commit 8b2125f606
1 changed files with 3 additions and 2 deletions

View File

@ -32,8 +32,9 @@ GLEW_DIR := $(SB_LIB_DIR)/glew
CC := gcc-12 CC := gcc-12
CXX := g++-12 CXX := g++-12
# Location of SDL config program. See README.md for how to compile the SDL library and this utility. # Location of SDL config program. See README.md for how to compile the SDL library and this utility. Define SDL_BIN_DIR when invoking
SDLCONFIG := sdl2-config # make to use an alternate SDL installation location.
SDLCONFIG := $(SDL_BIN_DIR)sdl2-config
############################# #############################
# Based on above parameters # # Based on above parameters #