34 lines
923 B
Plaintext
34 lines
923 B
Plaintext
CORE_PKGS += libc libm
|
|
NO_UNDEFINED =
|
|
# Uses Genode API to create secondary stack
|
|
|
|
GIT_VERSION = `git describe --always`
|
|
CXXFLAGS += -DGIT_VERSION=\"$(GIT_VERSION)\"
|
|
|
|
CFLAGS += -DSYSTEM_NOT_SUPPORTING_D_TYPE
|
|
CFLAGS += -O2
|
|
|
|
ifeq ($(ARCH),x86_64)
|
|
CFLAGS += -DSIZEOF_SIZE_T=8 -DSCUMM_64BITS
|
|
endif
|
|
|
|
include upstream/backends/platform/libretro/build/Makefile.common
|
|
include upstream/engines/engines.mk
|
|
|
|
include upstream/common/module.mk
|
|
|
|
: foreach $(SOURCES_C) |> !libretro_cc |> {libretro_objs}
|
|
: foreach $(SOURCES_CXX) |> !libretro_cxx |> {libretro_objs}
|
|
|
|
: {libretro_objs} |> !libretro_core_link |> {core}
|
|
: {core} |> !publish_core |>
|
|
|
|
#: $(TUP_CWD)/archives |> !publish_core_archives |> {package}
|
|
#: $(TUP_CWD)/runtime |> !publish_core_runtime |> {package}
|
|
|
|
ifdef DEPOT_KEY
|
|
: {binary} |> !depot_bin_tarball |> {tarballs}
|
|
: {package} |> !depot_pkg_tarball |> {tarballs}
|
|
: foreach {tarballs} |> !public_signature |>
|
|
endif
|