SDL: Allow SDL_LIBVER to be overridden without modifying sdl.mak

This commit is contained in:
Alex W. Jackson 2014-10-20 23:13:51 -04:00
parent c7e836f6da
commit ce2ff23fe0

View File

@ -83,19 +83,19 @@ SDL_FRAMEWORK_PATH = /Library/Frameworks/
OSDSRC = $(SRC)/osd
OSDOBJ = $(OBJ)/osd
# auto-select SDL2 for non-OS/2 builds now
# default to SDL2 for non-OS/2 builds now
ifndef SDL_LIBVER
ifneq ($(TARGETOS),os2)
SDL_LIBVER = sdl2
else
SDL_LIBVER = sdl
endif
endif
ifndef NO_USE_QTDEBUG
OBJDIRS += $(OSDOBJ)/modules/debugger/qt
endif
ifndef SDL_LIBVER
SDL_LIBVER = sdl
endif
ifdef SDL_INSTALL_ROOT
SDL_CONFIG = $(SDL_INSTALL_ROOT)/bin/$(SDL_LIBVER)-config
else