Commit bde4a6e1 authored by Emery Hemingway's avatar Emery Hemingway
Browse files

Build rules for Genode platform

parent 8fa47bd4
*.o
*.lo
*.la
*.so
.deps
.libs
......@@ -292,6 +292,14 @@ else ifeq ($(platform), switch)
include $(LIBTRANSISTOR_HOME)/libtransistor.mk
STATIC_LINKING=1
else ifeq ($(platform), genode)
TARGET := $(TARGET_NAME)_libretro.lib.so
CC := $(shell pkg-config genode-base --variable=cc)
LD := $(shell pkg-config genode-base --variable=ld)
CFLAGS := $(shell pkg-config genode-libc --cflags)
LDFLAGS := $(shell pkg-config genode-lib genode-libc --libs)
LIBS =
# Windows MSVC 2003 Xbox 1
else ifeq ($(platform), xbox1_msvc2003)
TARGET := $(TARGET_NAME)_libretro_xdk1.lib
......@@ -484,7 +492,7 @@ ifeq ($(STATIC_LINKING),1)
else
LD = link.exe
endif
else
else ifneq ($(platform),genode)
LD = $(CC)
endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment