Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Libretro
flycast
Commits
840aae88
Commit
840aae88
authored
Dec 14, 2015
by
Libretro-Admin
Browse files
Updates
parent
db2dcc96
Changes
2
Hide whitespace changes
Inline
Side-by-side
shell/libretro/Makefile
View file @
840aae88
...
...
@@ -6,6 +6,7 @@ LD = ${CC}
DEBUG
:=
0
NO_REND
:=
1
HAVE_GL
:=
0
TARGET_NAME
:=
reicast
...
...
@@ -160,10 +161,6 @@ ifeq ($(NO_REND),1)
CXXFLAGS
+=
-DNO_REND
endif
ifeq
($(USE_GLES),1)
RZDCY_CFLAGS
+=
-DGLES
endif
RZDCY_CXXFLAGS
:=
$(RZDCY_CFLAGS)
-fno-exceptions
-fno-rtti
-std
=
gnu++11
LDFLAGS
+=
-g
-Wl
,-Map,
$(
notdir
$@
)
.map,--gc-sections
-Wl
,
$(OPTFLAGS)
-Wl
,--sort-common
...
...
@@ -200,14 +197,17 @@ ifdef LTO_TEST
LDFLAGS
+=
-flto
-fwhole-program
endif
# GLES on x11?
if
def
USE_GL
ifdef
USE_
GLES
ifeq
($(HAVE_GL), 1)
if
eq
($(HAVE_GLES),1)
RZDCY_CFLAGS
+=
-D
GLES
CXXFLAGS
+=
-DGLES
CFLAGS
+=
-DGLES
GL_LIB
+=
-lEGL
-lGLESv2
else
GL_LIB
+=
-ldl
-lGL
-lX11
#for desktop gl
RZDCY_CFLAGS
+=
-DGL
CXXFLAGS
+=
-DGL
CFLAGS
+=
-DGL
GL_LIB
+=
-ldl
-lGL
#for desktop gl
endif
endif
...
...
shell/libretro/Makefile.common
View file @
840aae88
...
...
@@ -96,9 +96,11 @@ SOURCES_CXX := $(CORE_DIR)/cfg/ini.cpp \
ifeq
($(NO_REND), 1)
SOURCES_CXX
+=
$(CORE_DIR)
/rend/norend/norend.cpp
else
endif
ifeq
($(HAVE_GL), 1)
SOURCES_CXX
+=
$(CORE_DIR)
/rend/gles/gldraw.cpp
\
$(CORE_DIR)
/rend/gles/gles.cpp
\
$(CORE_DIR)
/rend/gles/gles
_libretro
.cpp
\
$(CORE_DIR)
/rend/gles/gltex.cpp
endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment