mirror of
https://github.com/libretro/mame2003-plus-libretro.git
synced 2024-11-23 08:19:42 +00:00
Windows MSVC 2003 x86 and rpi4 added.
Windows MSVC 2003 x86 and rpi4 added.
This commit is contained in:
parent
d5103b67f0
commit
42da079eb1
35
Makefile
35
Makefile
@ -191,6 +191,17 @@ else ifeq ($(platform), rpi3)
|
||||
CPU_ARCH := arm
|
||||
ARM = 1
|
||||
|
||||
else ifeq ($(platform), rpi4)
|
||||
TARGET = $(TARGET_NAME)_libretro.so
|
||||
fpic = -fPIC
|
||||
CFLAGS += $(fpic)
|
||||
LDFLAGS += $(fpic) -shared -Wl,--version-script=link.T
|
||||
PLATCFLAGS += -marm -mcpu=cortex-a72 -mfpu=neon-fp-armv8 -mfloat-abi=hard
|
||||
PLATCFLAGS += -fomit-frame-pointer -ffast-math
|
||||
CXXFLAGS = $(CFLAGS) -fno-rtti -fno-exceptions
|
||||
CPU_ARCH := arm
|
||||
ARM = 1
|
||||
|
||||
# Classic Platforms ####################
|
||||
# Platform affix = classic_<ISA>_<µARCH>
|
||||
# Help at https://modmyclassic.com/comp
|
||||
@ -327,7 +338,7 @@ else ifeq ($(platform), ps3)
|
||||
PLATCFLAGS += -D__CELLOS_LV2__ -D__ppc__ -D__POWERPC__
|
||||
STATIC_LINKING = 1
|
||||
SPLIT_UP_LINK=1
|
||||
|
||||
|
||||
else ifeq ($(platform), sncps3)
|
||||
TARGET = $(TARGET_NAME)_libretro_ps3.a
|
||||
BIGENDIAN = 1
|
||||
@ -473,6 +484,26 @@ PSS_STYLE :=2
|
||||
LDFLAGS += -DLL
|
||||
LIBS =
|
||||
|
||||
# Windows MSVC 2003 x86
|
||||
else ifeq ($(platform), windows_msvc2003_x86)
|
||||
CC = cl.exe
|
||||
CXX = cl.exe
|
||||
PATH := $(shell IFS=$$'\n'; cygpath "$(VS71COMNTOOLS)../../Vc7/bin"):$(PATH)
|
||||
PATH := $(PATH):$(shell IFS=$$'\n'; cygpath "$(VS71COMNTOOLS)../IDE")
|
||||
INCLUDE := $(shell IFS=$$'\n'; cygpath -w "$(VS71COMNTOOLS)../../Vc7/include")
|
||||
LIB := $(shell IFS=$$'\n'; cygpath -w "$(VS71COMNTOOLS)../../Vc7/lib")
|
||||
BIN := $(shell IFS=$$'\n'; cygpath "$(VS71COMNTOOLS)../../Vc7/bin")
|
||||
|
||||
WindowsSdkDir := $(INETSDK)
|
||||
export INCLUDE := $(INCLUDE);$(INETSDK)/Include;src/libretro/libretro-common/include/compat/msvc
|
||||
export LIB := $(LIB);$(WindowsSdkDir);$(INETSDK)/Lib
|
||||
|
||||
TARGET := $(TARGET_NAME)_libretro.dll
|
||||
PSS_STYLE :=2
|
||||
LDFLAGS += -DLL
|
||||
CFLAGS += -D_CRT_SECURE_NO_DEPRECATE
|
||||
LIBS =
|
||||
|
||||
# Windows MSVC 2005 x86
|
||||
else ifeq ($(platform), windows_msvc2005_x86)
|
||||
CC = cl.exe
|
||||
@ -581,7 +612,7 @@ else ifneq (,$(findstring windows_msvc2017,$(platform)))
|
||||
ifneq (,$(findstring uwp,$(PlatformSuffix)))
|
||||
LIB := $(LIB);$(shell IFS=$$'\n'; cygpath -w "$(LIB)/store")
|
||||
endif
|
||||
|
||||
|
||||
export INCLUDE := $(INCLUDE);$(WindowsSDKSharedIncludeDir);$(WindowsSDKUCRTIncludeDir);$(WindowsSDKUMIncludeDir)
|
||||
export LIB := $(LIB);$(WindowsSDKUCRTLibDir);$(WindowsSDKUMLibDir)
|
||||
TARGET := $(TARGET_NAME)_libretro.dll
|
||||
|
Loading…
Reference in New Issue
Block a user