trunk/src/osd/sdl/sdl.mak
| r31883 | r31884 | |
| 59 | 59 | # active development on sdlmame or SDL. |
| 60 | 60 | |
| 61 | 61 | # uncomment the next line to compile and link against SDL2.0 |
| 62 | | #SDL_LIBVER = sdl2 |
| 62 | # SDL_LIBVER = sdl2 |
| 63 | 63 | |
| 64 | 64 | # 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) |
| 65 | 65 | # SDL2_MULTIAPI = 1 |
| r31883 | r31884 | |
| 477 | 477 | |
| 478 | 478 | ifndef MACOSX_USE_LIBSDL |
| 479 | 479 | # Compile using framework (compile using libSDL is the exception) |
| 480 | ifeq ($(SDL_LIBVER),sdl2) |
| 481 | LIBS += -F$(SDL_FRAMEWORK_PATH) -framework SDL2 -framework Cocoa -framework OpenGL -lpthread |
| 482 | else |
| 480 | 483 | LIBS += -F$(SDL_FRAMEWORK_PATH) -framework SDL -framework Cocoa -framework OpenGL -lpthread |
| 484 | endif |
| 481 | 485 | INCPATH += -F$(SDL_FRAMEWORK_PATH) |
| 482 | 486 | else |
| 483 | 487 | # Compile using installed libSDL (Fink or MacPorts): |