Add SDL2 to Makefile.win

This commit is contained in:
Higor Eurípedes 2014-08-10 20:00:45 -03:00
parent 0e5305b10f
commit 4485fb7389

View File

@ -131,6 +131,15 @@ ifeq ($(HAVE_MENU_COMMON), 1)
OBJ += frontend/menu/backend/menu_common_backend.o frontend/menu/menu_input_line_cb.o frontend/menu/menu_common.o frontend/menu/menu_navigation.o
endif
ifeq ($(HAVE_SDL2), 1)
OBJ += gfx/sdl2_gfx.o input/sdl2_input.o input/sdl2_joypad.o audio/sdl_audio.o
JOBJ += input/sdl2_joypad.o
LIBS += -lSDL2
JLIBS += -lSDL2
DEFINES += -ISDL2 -DHAVE_SDL2
HAVE_SDL = 0
endif
ifeq ($(HAVE_SDL), 1)
OBJ += gfx/sdl_gfx.o input/sdl_input.o input/sdl_joypad.o audio/sdl_audio.o
JOBJ += input/sdl_joypad.o