blob: aa838e91a3eea3438a39b5ece8be0a75c91ce18d (
plain)
1
2
3
4
5
6
7
8
9
|
include $(CLEAR_VARS)
LOCAL_MODULE := easyrpg
LOCAL_C_INCLUDES := $(SDL_IMAGE_LOCAL_PATH)/$(PNG_LIBRARY_PATH) $(SDL_IMAGE_LOCAL_PATH)/$(JPG_LIBRARY_PATH)
LOCAL_SRC_FILES := $(wildcard jni/easyrpg/src/*.cpp)
LOCAL_STATIC_LIBRARIES := lcf vorbis pixman freetype png iconv physfs SDL2_static SDL2_mixer_static
LOCAL_SHARED_LIBRARIES := compat compat-physfs
LOCAL_LDLIBS := -lz -ldl -lm -lOpenSLES
LOCAL_CPPFLAGS := -std=c++14 -DUSE_SDL=2 -DHAVE_SDL_MIXER -DSUPPORT_AUDIO=1
include $(BUILD_SHARED_LIBRARY)
|