mirror of
https://github.com/libretro/RetroArch
synced 2025-02-28 22:13:51 +00:00
(Libretro-test) Make Blackberry target
This commit is contained in:
parent
34507f74a1
commit
f9322afd1f
@ -12,14 +12,20 @@ else ifneq ($(findstring win,$(shell uname -a)),)
|
|||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
TARGET_NAME := test
|
||||||
|
|
||||||
ifeq ($(platform), unix)
|
ifeq ($(platform), unix)
|
||||||
TARGET := libretro.so
|
TARGET := $(TARGET_NAME)_libretro.so
|
||||||
fpic := -fPIC
|
fpic := -fPIC
|
||||||
SHARED := -shared -Wl,--version-script=link.T -Wl,--no-undefined
|
SHARED := -shared -Wl,--version-script=link.T -Wl,--no-undefined
|
||||||
else ifeq ($(platform), osx)
|
else ifeq ($(platform), osx)
|
||||||
TARGET := libretro.dylib
|
TARGET := $(TARGET_NAME)_libretro.dylib
|
||||||
fpic := -fPIC
|
fpic := -fPIC
|
||||||
SHARED := -dynamiclib
|
SHARED := -dynamiclib
|
||||||
|
else ifeq ($(platform), qnx)
|
||||||
|
TARGET := $(TARGET_NAME)_libretro_qnx.so
|
||||||
|
fpic := -fPIC
|
||||||
|
SHARED := -shared -Wl,--version-script=link.T -Wl,--no-undefined
|
||||||
else
|
else
|
||||||
CC = gcc
|
CC = gcc
|
||||||
TARGET := retro.dll
|
TARGET := retro.dll
|
||||||
@ -33,7 +39,13 @@ else
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
OBJECTS := libretro-test.o
|
OBJECTS := libretro-test.o
|
||||||
CFLAGS += -std=gnu99 -Wall -pedantic $(fpic)
|
CFLAGS += -Wall -pedantic $(fpic)
|
||||||
|
|
||||||
|
ifeq ($(platform), qnx)
|
||||||
|
CFLAGS += -Wc,-std=gnu99
|
||||||
|
else
|
||||||
|
CFLAGS += -std=gnu99
|
||||||
|
endif
|
||||||
|
|
||||||
all: $(TARGET)
|
all: $(TARGET)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user