mirror of
https://github.com/holub/mame
synced 2025-04-23 00:39:36 +03:00
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
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user