RAW_VERSION = 2019-01-21
: $(CORE_DIR)/DiskImage/Oberon-$(RAW_VERSION).dsk |> !collect_raw |>
: |> !raw |>

CORE_PKGS += libc

include upstream/Libretro/Makefile.common

: foreach $(SOURCES_C) |> !libretro_cc |> {libretro_objs}
: foreach $(SOURCES_CXX) |> !libretro_cxx |> {libretro_objs}

: {libretro_objs} |> !libretro_core_link |> {core}
: {core} |> !collect_bin |>
: |> !bin |>

PKG_DEPENDS += \
	_/raw/oberon \

: $(TUP_CWD)/runtime |> !collect_pkg_runtime |>
: |> !pkg |>
