genode-ehmry/libretro/cores/nxengine/Tuprules.tup

32 lines
856 B
Plaintext
Raw Normal View History

2019-03-03 14:24:08 +01:00
CORE_PKGS += stdcxx libc libm
NO_UNDEFINED =
# __cxa_...
EXTRACTDIR = $(CORE_DIR)/extract-auto
include upstream/Makefile.common
2019-03-20 00:55:54 +01:00
DEFINES += -O2 -DNDEBUG
DEFINES += -DHAVE_INTTYPES_H
DEFINES += -DINLINE="inline"
2019-03-03 14:24:08 +01:00
CFLAGS += -std=gnu11
2019-03-16 18:18:53 +01:00
CXXFLAGS += -fno-rtti -fno-exceptions
2019-03-03 14:24:08 +01:00
: 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 | {core} |> !publish_core_archives |> {package}
: $(TUP_CWD)/runtime | {core} |> !publish_core_runtime |> {package}
2019-03-04 19:58:42 +01:00
: {binary} |> !core_publish_bin |>
: {package} |> !core_publish_pkg |>
2019-03-24 13:06:04 +01:00
REMOTE_DEPENDS += \
@(SDK_USER)/src/vfs/@(SDK_VERSION) \
@(SDK_USER)/src/libc/@(SDK_VERSION) \
@(SDK_USER)/src/stdcxx/@(SDK_VERSION) \
: |> !bin_archives |>