This commit is a response to Genode's increased default warning level. See the corresponding issue at: https://github.com/genodelabs/genode/issues/465
30 lines
559 B
Makefile
30 lines
559 B
Makefile
LIBS = libc libm stdcxx
|
|
|
|
SHARED_LIB = yes
|
|
|
|
PORT_DIR := $(call select_from_ports,tyrquake-libretro)/src/libretro/tyrquake
|
|
CORE_DIR := $(PORT_DIR)
|
|
|
|
-include $(PORT_DIR)/Makefile.common
|
|
|
|
INC_DIR += \
|
|
$(REP_DIR)/src/libretro/tyrquake \
|
|
$(PORT_DIR)/common \
|
|
$(PORT_DIR)/libretro-common/include \
|
|
|
|
CC_OPT = \
|
|
-DHAVE_STRINGS_H \
|
|
-DHAVE_STDINT_H \
|
|
-DHAVE_INTTYPES_H \
|
|
-D__LIBRETRO__ \
|
|
-DINLINE=inline \
|
|
-DNQ_HACK \
|
|
-DQBASEDIR=$(CORE_DIR) \
|
|
-DTYR_VERSION=0.62
|
|
|
|
SRC_C := $(notdir $(SOURCES_C))
|
|
|
|
vpath %.c $(sort $(dir $(SOURCES_C)))
|
|
|
|
CC_CXX_WARN_STRICT =
|