diff options
Diffstat (limited to 'ui/Makefile.objs')
-rw-r--r-- | ui/Makefile.objs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/ui/Makefile.objs b/ui/Makefile.objs index 13b5cfbe41..029a42a688 100644 --- a/ui/Makefile.objs +++ b/ui/Makefile.objs @@ -21,7 +21,20 @@ sdl.mo-objs := sdl.o sdl_zoom.o endif ifeq ($(CONFIG_SDLABI),2.0) sdl.mo-objs := sdl2.o sdl2-input.o sdl2-2d.o +ifeq ($(CONFIG_OPENGL),y) +sdl.mo-objs += sdl2-gl.o +endif endif sdl.mo-cflags := $(SDL_CFLAGS) +ifeq ($(CONFIG_OPENGL),y) +common-obj-y += shader.o +common-obj-y += console-gl.o +endif + gtk.o-cflags := $(GTK_CFLAGS) $(VTE_CFLAGS) +shader.o-cflags += $(OPENGL_CFLAGS) +console-gl.o-cflags += $(OPENGL_CFLAGS) + +shader.o-libs += $(OPENGL_LIBS) +console-gl.o-libs += $(OPENGL_LIBS) |