mirror of
https://github.com/ekeeke/Genesis-Plus-GX.git
synced 2024-11-04 01:45:08 +01:00
(Blackberry) Add qnx target to Makefile.libretro
This commit is contained in:
parent
0665260d90
commit
28e73319fb
@ -50,6 +50,15 @@ else ifeq ($(platform), ios)
|
|||||||
PLATFORM_DEFINES := -DHAVE_ZLIB
|
PLATFORM_DEFINES := -DHAVE_ZLIB
|
||||||
|
|
||||||
CC = clang -arch armv7 -isysroot $(IOSSDK)
|
CC = clang -arch armv7 -isysroot $(IOSSDK)
|
||||||
|
else ifeq ($(platform), qnx)
|
||||||
|
TARGET := genesis_plus_gx_libretro.so
|
||||||
|
fpic := -fPIC
|
||||||
|
SHARED := -shared -Wl,--version-script=libretro/link.T -Wl,--no-undefined -lz
|
||||||
|
ENDIANNESS_DEFINES := -DLSB_FIRST
|
||||||
|
PLATFORM_DEFINES := -DHAVE_ZLIB
|
||||||
|
CC = qcc -Vgcc_ntoarmv7le
|
||||||
|
AR = qcc -Vgcc_ntoarmv7le
|
||||||
|
PLATFORM_DEFINES := -D__BLACKBERRY_QNX__ -marm -mcpu=cortex-a9 -mfpu=neon -mfloat-abi=softfp
|
||||||
else ifeq ($(platform), sncps3)
|
else ifeq ($(platform), sncps3)
|
||||||
TARGET := genesis_plus_gx_libretro_ps3.a
|
TARGET := genesis_plus_gx_libretro_ps3.a
|
||||||
CC = $(CELL_SDK)/host-win32/sn/bin/ps3ppusnc.exe
|
CC = $(CELL_SDK)/host-win32/sn/bin/ps3ppusnc.exe
|
||||||
@ -161,12 +170,6 @@ ifeq ($(LOGSOUND), 1)
|
|||||||
LIBRETRO_CFLAGS := -DLOGSOUND
|
LIBRETRO_CFLAGS := -DLOGSOUND
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(platform), sncps3)
|
|
||||||
CODE_DEFINES =
|
|
||||||
else
|
|
||||||
CODE_DEFINES = -std=gnu99
|
|
||||||
endif
|
|
||||||
|
|
||||||
DEFINES :=
|
DEFINES :=
|
||||||
CFLAGS += $(fpic) $(DEFINES) $(CODE_DEFINES)
|
CFLAGS += $(fpic) $(DEFINES) $(CODE_DEFINES)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user