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
cannonball
Commits
584a40ee
Unverified
Commit
584a40ee
authored
Aug 17, 2019
by
Libretro-Admin
Committed by
GitHub
Aug 17, 2019
Browse files
Merge pull request #12 from webgeek1234/master
Makefile Fixes
parents
60a92013
23ce677c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
584a40ee
...
...
@@ -208,6 +208,19 @@ else ifeq ($(platform), xenon)
ENDIANNESS_DEFINES
+=
-D__LIBXENON__
-m32
-D__ppc__
-DMSB_FIRST
-DBYTE_ORDER
=
BIG_ENDIAN
STATIC_LINKING
=
1
# CTR (3DS)
else
ifeq
($(platform), ctr)
TARGET
:=
$(TARGET_NAME)
_libretro_
$(platform)
.a
CC
=
$(DEVKITARM)
/bin/arm-none-eabi-gcc
$(EXE_EXT)
CXX
=
$(DEVKITARM)
/bin/arm-none-eabi-g++
$(EXE_EXT)
AR
=
$(DEVKITARM)
/bin/arm-none-eabi-ar
$(EXE_EXT)
STATIC_LINKING
=
1
FLAGS
+=
-D_3DS
FLAGS
+=
-DARM11
FLAGS
+=
-march
=
armv6k
-mtune
=
mpcore
-mfloat-abi
=
hard
FLAGS
+=
-Wall
-mword-relocations
FLAGS
+=
-fomit-frame-pointer
-ffast-math
# Nintendo Game Cube / Wii / WiiU
else
ifneq
(,$(filter $(platform), ngc wii wiiu))
TARGET
:=
$(TARGET_NAME)
_libretro_
$(platform)
.a
...
...
@@ -221,7 +234,7 @@ else ifneq (,$(filter $(platform), ngc wii wiiu))
# Nintendo WiiU
ifneq
(,$(findstring wiiu,$(platform)))
ENDIANNESS_DEFINES
+=
-DWIIU
-DHW_RVL
-mwup
ENDIANNESS_DEFINES
+=
-DWIIU
-DHW_RVL
# Nintendo Wii
else
ifneq
(,$(findstring wii,$(platform)))
...
...
@@ -473,8 +486,8 @@ WINDOWS_VERSION=1
# Windows
else
TARGET
:=
$(TARGET_NAME)
_libretro.dll
CC
=
gcc
CXX
=
g++
CC
?
=
gcc
CXX
?
=
g++
SHARED
:=
-shared
-Wl
,--no-undefined
-Wl
,--version-script
=
link.T
LDFLAGS
+=
-static-libgcc
-static-libstdc
++
-lwinmm
WINDOWS_VERSION
=
1
...
...
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