Previous 199869 Revisions Next

r31884 Wednesday 3rd September, 2014 at 01:20:39 UTC by R. Belmont
SDL: link properly on OS X for SDL2. [R. Belmont]
[src/osd/sdl]sdl.mak

trunk/src/osd/sdl/sdl.mak
r31883r31884
5959# active development on sdlmame or SDL.
6060
6161# uncomment the next line to compile and link against SDL2.0
62#SDL_LIBVER = sdl2
62# SDL_LIBVER = sdl2
6363
6464# uncomment the next line to use couriersud's multi-keyboard patch for SDL 2.1? (this API was removed prior to the 2.0 release)
6565# SDL2_MULTIAPI = 1
r31883r31884
477477
478478ifndef MACOSX_USE_LIBSDL
479479# Compile using framework (compile using libSDL is the exception)
480ifeq ($(SDL_LIBVER),sdl2)
481LIBS += -F$(SDL_FRAMEWORK_PATH) -framework SDL2 -framework Cocoa -framework OpenGL -lpthread
482else
480483LIBS += -F$(SDL_FRAMEWORK_PATH) -framework SDL -framework Cocoa -framework OpenGL -lpthread
484endif
481485INCPATH += -F$(SDL_FRAMEWORK_PATH)
482486else
483487# Compile using installed libSDL (Fink or MacPorts):

Previous 199869 Revisions Next


© 1997-2024 The MAME Team