PageRenderTime 12ms CodeModel.GetById 8ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/project/jni/sdl_main/Android.mk

https://github.com/aichunyu/FFPlayer
Makefile | 21 lines | 13 code | 8 blank | 0 comment | 1 complexity | 133f87ccc84eddbc01f9c6c42ac4fe1d MD5 | raw file
 1LOCAL_PATH := $(call my-dir)
 2
 3include $(CLEAR_VARS)
 4
 5LOCAL_MODULE := sdl_main
 6
 7ifndef SDL_JAVA_PACKAGE_PATH
 8$(error Please define SDL_JAVA_PACKAGE_PATH to the path of your Java package with dots replaced with underscores, for example "com_example_SanAngeles")
 9endif
10
11LOCAL_C_INCLUDES := $(LOCAL_PATH)/../sdl-$(SDL_VERSION)/include
12LOCAL_CFLAGS := -DSDL_JAVA_PACKAGE_PATH=$(SDL_JAVA_PACKAGE_PATH) -DSDL_CURDIR_PATH=\"$(SDL_CURDIR_PATH)\"
13
14LOCAL_CPP_EXTENSION := .cpp
15
16LOCAL_SRC_FILES := sdl_main.c JNICtx.c
17
18LOCAL_SHARED_LIBRARIES := sdl-$(SDL_VERSION) application
19LOCAL_LDLIBS := -llog
20
21include $(BUILD_SHARED_LIBRARY)