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
libretro-2048
Commits
e1bada70
Commit
e1bada70
authored
Nov 02, 2014
by
Libretro-Admin
Browse files
Add Makefile.common
parent
1ad67a4f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Makefile.common
0 → 100644
View file @
e1bada70
SOURCES_C
:=
$(CORE_DIR)
/libretro.c
\
$(CORE_DIR)
/game_noncairo.c
\
$(CORE_DIR)
/game_shared.c
Makefile.libretro
View file @
e1bada70
...
...
@@ -64,7 +64,11 @@ else
CFLAGS
+=
-O3
endif
OBJECTS
:=
libretro.o game_noncairo.o game_shared.o
CORE_DIR
:=
.
include
Makefile.common
OBJECTS
:=
$(SOURCES_C:.c=.o)
CFLAGS
+=
-Wall
-pedantic
$(fpic)
$(PLATFORM_DEFINES)
CFLAGS
+=
...
...
jni/Android.mk
View file @
e1bada70
...
...
@@ -2,8 +2,6 @@ LOCAL_PATH := $(call my-dir)
include
$(CLEAR_VARS)
APP_DIR
:=
../
LOCAL_MODULE
:=
retro
ifeq
($(TARGET_ARCH),arm)
...
...
@@ -19,7 +17,11 @@ ifeq ($(TARGET_ARCH),mips)
LOCAL_CFLAGS
+=
-DANDROID_MIPS
-D__mips__
-D__MIPSEL__
endif
LOCAL_SRC_FILES
+=
$(APP_DIR)
/libretro.c
$(APP_DIR)
/game_noncairo.c
$(APP_DIR)
/game_shared.c
CORE_DIR
:=
..
include
$(CORE_DIR)/Makefile.common
LOCAL_SRC_FILES
+=
$(SOURCES_C)
LOCAL_CFLAGS
+=
-O2
-std
=
gnu99
-DINLINE
=
inline
-D__LIBRETRO__
include
$(BUILD_SHARED_LIBRARY)
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