22 lines
512 B
Plaintext
22 lines
512 B
Plaintext
CORE_PKGS += 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 |> %B.$(TARGET_NAME).o {libretro_objs}
|
|
: foreach $(SOURCES_CXX) |> !libretro_cxx |> {libretro_objs}
|
|
|
|
: {libretro_objs} |> !libretro_core_link |> {core}
|
|
: {core} |> !collect_bin |>
|
|
: |> !bin |>
|
|
|
|
: |> !pkg |>
|