Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

21 lines (14 sloc) 0.437 kb
SDL_LIB_SOURCES :=
LIBSDL_CXXFLAGS = `sdl2-config --cflags`
LIBSDL_LDFLAGS := $(shell sdl2-config --libs) -lSDL2_image
ifeq ($(MINGW_BUILD),1)
ifeq ($(MINGW_CONSOLE_BUILD),1)
TEMP := $(LIBSDL_LDFLAGS)
LIBSDL_LDFLAGS := $(subst -mwindows, ,$(TEMP))
endif
$(info SDL2 Link Flags:$(LIBSDL_LDFLAGS))
endif
# Link SDL builds to libX11 for GLES2 builds
ifeq ($(GL_TYPE),0)
LIBSDL_LDFLAGS += -lX11
endif
Jump to Line
Something went wrong with that request. Please try again.