Fix build ... *grummel*

This commit is contained in:
Themaister 2011-11-02 17:04:49 +01:00
parent d23a7e3ddf
commit 43905e410e

View File

@ -35,10 +35,15 @@ LDCXXFLAGS = -static-libstdc++
ifeq ($(HAVE_SDL), 1)
OBJ += gfx/sdl.o gfx/gl.o gfx/sdlwrap.o input/sdl.o audio/sdl.o fifo_buffer.o
LIBS += -lSDL -lopengl32
LIBS += -lSDL
DEFINES += -ISDL -DHAVE_SDL
endif
ifeq ($(HAVE_OPENGL), 1)
DEFINES += -DHAVE_OPENGL
LIBS += -lopengl32
endif
ifeq ($(HAVE_SDL_IMAGE), 1)
LIBS += -lSDL_image
DEFINES += -DHAVE_SDL_IMAGE