mirror of
https://github.com/libretro/libretro-prboom.git
synced 2024-11-23 16:09:41 +00:00
Add Switch target
This commit is contained in:
parent
f6f8361dc4
commit
a907bcc7d3
8
Makefile
8
Makefile
@ -220,6 +220,14 @@ else ifeq ($(platform), wiiu)
|
||||
CFLAGS += -U__INT32_TYPE__ -U __UINT32_TYPE__ -D__INT32_TYPE__=int
|
||||
STATIC_LINKING = 1
|
||||
|
||||
# Nintendo Switch (libtransistor)
|
||||
else ifeq ($(platform), switch)
|
||||
EXT=a
|
||||
TARGET := $(TARGET_NAME)_libretro_$(platform).$(EXT)
|
||||
include $(LIBTRANSISTOR_HOME)/libtransistor.mk
|
||||
STATIC_LINKING=1
|
||||
CFLAGS += -DHAVE_STRLWR
|
||||
|
||||
else ifneq (,$(findstring armv,$(platform)))
|
||||
EXT?=so
|
||||
TARGET := $(TARGET_NAME)_libretro.$(EXT)
|
||||
|
Loading…
Reference in New Issue
Block a user