mirror of
https://github.com/libretro/blueMSX-libretro.git
synced 2024-11-23 00:39:49 +00:00
Build rules for Genode platform
This commit is contained in:
parent
b75da4e339
commit
f80426242e
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
*.o
|
||||
*.so
|
@ -317,6 +317,19 @@ else ifeq ($(platform), emscripten)
|
||||
TARGET := $(TARGET_NAME)_libretro_$(platform).bc
|
||||
STATIC_LINKING = 1
|
||||
|
||||
# Genode
|
||||
else ifeq ($(platform), genode)
|
||||
TARGET := $(TARGET_NAME)_libretro.lib.so
|
||||
CFLAGS += $(shell pkg-config --cflags genode-libc)
|
||||
CXXFLAGS += $(shell pkg-config --cflags genode-stdcxx)
|
||||
|
||||
LDFLAGS += -shared --version-script=link.T
|
||||
LDFLAGS += $(shell pkg-config --libs genode-lib genode-libc genode-stdcxx)
|
||||
|
||||
CC := $(shell pkg-config genode-base --variable=cc)
|
||||
CXX := $(shell pkg-config genode-base --variable=cxx)
|
||||
LD := $(shell pkg-config genode-base --variable=ld)
|
||||
|
||||
# Windows MSVC 2010 x64
|
||||
else ifeq ($(platform), windows_msvc2010_x64)
|
||||
CC = cl.exe
|
||||
@ -475,7 +488,7 @@ ifneq (,$(findstring msvc,$(platform)))
|
||||
OBJOUT = -Fo
|
||||
LINKOUT = -out:
|
||||
LD = link.exe
|
||||
else
|
||||
else ifneq ($(platform),genode)
|
||||
LD = $(CXX)
|
||||
endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user