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
9d1c4b1a
Commit
9d1c4b1a
authored
Feb 19, 2018
by
Libretro-Admin
Browse files
Update Xbox OG target
parent
a40238a6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Makefile.libretro
View file @
9d1c4b1a
...
...
@@ -57,6 +57,15 @@ PLAT=_unix
endif
endif
SPACE
:=
SPACE
:=
$(SPACE)
$(SPACE)
BACKSLASH
:=
BACKSLASH
:=
\$
(
BACKSLASH
)
filter_out1
=
$(
filter-out
$(
firstword
$1
)
,
$1
)
filter_out2
=
$(
call
filter_out1,
$(
call
filter_out1,
$1
))
unixpath
=
$(
subst
\,
/,
$1
)
unixcygpath
=
/
$(
subst
:,,
$(
call
unixpath,
$1
))
ifeq
($(platform), unix)
EXT
?=
so
TARGET
:=
$(TARGET_NAME)
_libretro
$(PLAT)
.
$(EXT)
...
...
@@ -232,13 +241,13 @@ else ifeq ($(platform), switch)
# Windows MSVC 2003 Xbox 1
else
ifeq
($(platform), xbox1_msvc2003)
TARGET
:=
$(TARGET_NAME)
_libretro_xdk1.lib
MSVCBINDIRPREFIX
=
$(XDK)
/xbox/bin/vc71
CC
?=
"
$(MSVCBINDIRPREFIX)
/CL.exe"
CXX
?=
"
$(MSVCBINDIRPREFIX)
/CL.exe"
LD
?=
"
$(MSVCBINDIRPREFIX)
/lib.exe"
CC
=
CL.exe
CXX
=
CL.exe
LD
=
lib.exe
export
INCLUDE
:=
$(XDK)
/xbox/include
export
LIB
:=
$(XDK)
/xbox/lib
PATH
:=
$(
call
unixcygpath,
$(XDK)
/xbox/bin/vc71
)
:
$(PATH)
PSS_STYLE
:=
2
CFLAGS
+=
-D_XBOX
-D_XBOX1
CXXFLAGS
+=
-D_XBOX
-D_XBOX1
...
...
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