CORE_PKGS += libc libm

CFLAGS += -O3 -Wall -pedantic -std=gnu99

include upstream/Makefile.common

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

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

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