32 lines
856 B
Plaintext
32 lines
856 B
Plaintext
CORE_PKGS += stdcxx libc libm
|
|
NO_UNDEFINED =
|
|
# __cxa_...
|
|
|
|
EXTRACTDIR = $(CORE_DIR)/extract-auto
|
|
include upstream/Makefile.common
|
|
|
|
DEFINES += -O2 -DNDEBUG
|
|
DEFINES += -DHAVE_INTTYPES_H
|
|
DEFINES += -DINLINE="inline"
|
|
CFLAGS += -std=gnu11
|
|
CXXFLAGS += -fno-rtti -fno-exceptions
|
|
|
|
: 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}
|
|
|
|
: {binary} |> !core_publish_bin |>
|
|
: {package} |> !core_publish_pkg |>
|
|
|
|
REMOTE_DEPENDS += \
|
|
@(SDK_USER)/src/vfs/@(SDK_VERSION) \
|
|
@(SDK_USER)/src/libc/@(SDK_VERSION) \
|
|
@(SDK_USER)/src/stdcxx/@(SDK_VERSION) \
|
|
|
|
: |> !bin_archives |>
|