libretro-genode/libretro/cores/mrboom/Tuprules.tup
Emery Hemingway 81d669359f Add per-core suffix to objects files
Adding a per-core suffix to objects allows multiple cores to build in
libretro-common.
2019-04-27 20:18:13 +02:00

30 lines
796 B
Plaintext

CORE_PKGS += stdcxx libc libm
NO_UNDEFINED =
# Uses Genode API to create secondary stack
LIBRETRO_COMM_DIR =
# TODO: update libretro-common
GIT_VERSION = `git describe --always`
CFLAGS += -O3
CFLAGS += -DMRBOOM -DHAVE_IBXM -D_FORTIFY_SOURCE=0
CFLAGS += -DPLATFORM=\"genode\" -DGIT_VERSION=\"$(GIT_VERSION)\"
CFLAGS += -std=gnu99
CXXFLAGS += -std=c++98
include upstream/Makefile.common
: foreach $(SOURCES_C) |> !libretro_cc |> {libretro_objs}
: foreach $(SOURCES_CXX) |> !libretro_cxx |> {libretro_objs}
: {libretro_objs} |> !libretro_core_link |> {core}
: {core} |> !publish_core |> {binary}
: $(TUP_CWD)/archives |> !publish_core_archives |> {package}
: $(TUP_CWD)/runtime |> !publish_core_runtime |> {package}
: {binary} |> !core_publish_bin |>
: {package} |> !core_publish_pkg |>