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
snes9x2002
Commits
a9ed8660
Commit
a9ed8660
authored
Nov 08, 2015
by
aliaspider
Browse files
update Makefile.common
parent
804215a4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Makefile.common
View file @
a9ed8660
...
@@ -67,34 +67,35 @@ SOURCES += $(CORE_DIR)/os9x_65c816_global.s
...
@@ -67,34 +67,35 @@ SOURCES += $(CORE_DIR)/os9x_65c816_global.s
SOURCES
+=
$(CORE_DIR)
/os9x_65c816_spcasm.s
SOURCES
+=
$(CORE_DIR)
/os9x_65c816_spcasm.s
SOURCES
+=
$(CORE_DIR)
/os9x_65c816_spcc.s
SOURCES
+=
$(CORE_DIR)
/os9x_65c816_spcc.s
SOURCES
+=
$(CORE_DIR)
/os9x_65c816.s
#
SOURCES += $(CORE_DIR)/os9x_65c816.s
SOURCES
+=
$(CORE_DIR)
/os9x_asm_cpu.cpp
SOURCES
+=
$(CORE_DIR)
/os9x_asm_cpu.cpp
#
CFLAG
S += -D__GP2X__
#
DEFINE
S += -D__GP2X__
#
CFLAG
S += -DASMCPU
#
DEFINE
S += -DASMCPU
#
CFLAG
S += -DVAR_CYCLES
#
DEFINE
S += -DVAR_CYCLES
#
CFLAG
S += -D_C_GW_
#
DEFINE
S += -D_C_GW_
#
#COPT
= -DUSE_SA1
#
DEFINES +
= -DUSE_SA1
# -DFAST_LSB_WORD_ACCESS
# -DFAST_LSB_WORD_ACCESS
#CFLAG
S += -ffast-math
DEFINE
S
+=
-ffast-math
#
CFLAG
S += -msoft-float
#
DEFINE
S += -msoft-float
#CFLAG
S += -finline -finline-functions -fexpensive-optimizations
DEFINE
S
+=
-finline
-finline-functions
-fexpensive-optimizations
#CFLAG
S += -falign-functions=16 -falign-loops -falign-labels
DEFINE
S
+=
-falign-functions
=
16
-falign-loops
-falign-labels
#CFLAG
S += -falign-jumps
DEFINE
S
+=
-falign-jumps
#CFLAG
S += -fomit-frame-pointer
DEFINE
S
+=
-fomit-frame-pointer
#CFLAG
S += -fstrict-aliasing -mstructure-size-boundary=32 -fweb -fsigned-char -frename-registers
DEFINE
S
+=
-fstrict-aliasing
-mstructure-size-boundary
=
32
-fweb
-fsigned-char
-frename-registers
#CFLAG
S += -ffast-math -funroll-loops -fomit-frame-pointer
DEFINE
S
+=
-ffast-math
-funroll-loops
-fomit-frame-pointer
INCLUDES
=
-Ilibretro
-Isrc
-I
.
INCLUDES
=
-Ilibretro
-Isrc
-I
.
DEFINES
+=
-DHAVE_STRINGS_H
-DHAVE_STDINT_H
-DHAVE_INTTYPES_H
-D__LIBRETRO__
-DINLINE
=
inline
-DUSE_SA1
DEFINES
+=
-DHAVE_STRINGS_H
-DHAVE_STDINT_H
-DHAVE_INTTYPES_H
-D__LIBRETRO__
-DINLINE
=
inline
DEFINES
+=
-DUSE_SA1
ifeq
($(platform), sncps3)
ifeq
($(platform), sncps3)
WARNINGS_DEFINES
=
WARNINGS_DEFINES
=
CODE_DEFINES
=
CODE_DEFINES
=
else
else
WARNINGS_DEFINES
=
-Wall
-W
-Wno-unused-parameter
-Wno-parentheses
-Wno-write-strings
-Wno-comment
WARNINGS_DEFINES
=
-Wall
-W
-Wno-unused-parameter
-Wno-parentheses
-Wno-write-strings
-Wno-comment
-Werror
=
implicit-function-declaration
CODE_DEFINES
=
-fomit-frame-pointer
CODE_DEFINES
=
-fomit-frame-pointer
endif
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