mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 04:20:28 +00:00
(Makefile.common) Simplify
This commit is contained in:
parent
5956af766c
commit
bc5e0626bc
@ -532,16 +532,15 @@ ifeq ($(HAVE_OPENGL), 1)
|
|||||||
else
|
else
|
||||||
DEFINES += -DHAVE_GL_SYNC
|
DEFINES += -DHAVE_GL_SYNC
|
||||||
OBJ += libretro-common/glsym/glsym_gl.o
|
OBJ += libretro-common/glsym/glsym_gl.o
|
||||||
|
GL_LIBS := -lGL
|
||||||
ifeq ($(OSX), 1)
|
ifeq ($(OSX), 1)
|
||||||
LIBS += -framework OpenGL
|
GL_LIBS := -framework OpenGL
|
||||||
OBJ += gfx/drivers_context/cgl_ctx.o
|
OBJ += gfx/drivers_context/cgl_ctx.o
|
||||||
else ifneq ($(findstring Win32,$(OS)),)
|
else ifneq ($(findstring Win32,$(OS)),)
|
||||||
LIBS += -lopengl32 -lgdi32 -lcomdlg32 -lcomctl32
|
GL_LIBS := -lopengl32 -lgdi32 -lcomdlg32 -lcomctl32
|
||||||
OBJ += gfx/drivers_context/wgl_ctx.o \
|
OBJ += gfx/drivers_context/wgl_ctx.o gfx/drivers_wm/win32_shader_dlg.o
|
||||||
gfx/drivers_wm/win32_shader_dlg.o
|
|
||||||
else
|
|
||||||
LIBS += -lGL
|
|
||||||
endif
|
endif
|
||||||
|
LIBS += $(GL_LIBS)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
OBJ += gfx/drivers_shader/shader_glsl.o
|
OBJ += gfx/drivers_shader/shader_glsl.o
|
||||||
|
Loading…
x
Reference in New Issue
Block a user