SDL: Allow SDL_LIBVER to be overridden without modifying sdl.mak
This commit is contained in:
parent
c7e836f6da
commit
ce2ff23fe0
@ -83,19 +83,19 @@ SDL_FRAMEWORK_PATH = /Library/Frameworks/
|
|||||||
OSDSRC = $(SRC)/osd
|
OSDSRC = $(SRC)/osd
|
||||||
OSDOBJ = $(OBJ)/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)
|
ifneq ($(TARGETOS),os2)
|
||||||
SDL_LIBVER = sdl2
|
SDL_LIBVER = sdl2
|
||||||
|
else
|
||||||
|
SDL_LIBVER = sdl
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifndef NO_USE_QTDEBUG
|
ifndef NO_USE_QTDEBUG
|
||||||
OBJDIRS += $(OSDOBJ)/modules/debugger/qt
|
OBJDIRS += $(OSDOBJ)/modules/debugger/qt
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifndef SDL_LIBVER
|
|
||||||
SDL_LIBVER = sdl
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifdef SDL_INSTALL_ROOT
|
ifdef SDL_INSTALL_ROOT
|
||||||
SDL_CONFIG = $(SDL_INSTALL_ROOT)/bin/$(SDL_LIBVER)-config
|
SDL_CONFIG = $(SDL_INSTALL_ROOT)/bin/$(SDL_LIBVER)-config
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user