This sets Android as a non-standard port in configure in order to override the definition for vsn_printf The vsn_printf implementation is taken from https://github.com/weiss/c99-snprintf
14 lines
346 B
Makefile
14 lines
346 B
Makefile
MODULE := backends/platform/android
|
|
|
|
MODULE_OBJS := \
|
|
jni-android.o \
|
|
asset-archive.o \
|
|
android.o \
|
|
graphics.o \
|
|
events.o \
|
|
snprintf.o
|
|
|
|
# We don't use rules.mk but rather manually update OBJS and MODULE_DIRS.
|
|
MODULE_OBJS := $(addprefix $(MODULE)/, $(MODULE_OBJS))
|
|
OBJS := $(MODULE_OBJS) $(OBJS)
|
|
MODULE_DIRS += $(sort $(dir $(MODULE_OBJS)))
|