/project/jni/sdl_gfx/Android.mk

https://github.com/aichunyu/FFPlayer · Makefile · 18 lines · 9 code · 8 blank · 1 comment · 0 complexity · ec755fefad213eeec13b3f60852c50ed MD5 · raw file

  1. LOCAL_PATH := $(call my-dir)
  2. include $(CLEAR_VARS)
  3. LOCAL_MODULE := sdl_gfx
  4. LOCAL_C_INCLUDES := $(LOCAL_PATH) $(LOCAL_PATH)/.. $(LOCAL_PATH)/../sdl-$(SDL_VERSION)/include $(LOCAL_PATH)/include
  5. LOCAL_CFLAGS := -O3
  6. LOCAL_CPP_EXTENSION := .cpp
  7. # Note this simple makefile var substitution, you can find even simpler examples in different Android projects
  8. LOCAL_SRC_FILES := $(notdir $(wildcard $(LOCAL_PATH)/*.c))
  9. LOCAL_SHARED_LIBRARIES := sdl-$(SDL_VERSION)
  10. include $(BUILD_SHARED_LIBRARY)