ndk makefile

LOCAL_PATH:= $(call my-dir)

include $(CLEAR_VARS)

LOCAL_MODULE    := control

LOCAL_CFLAGS := -D__LINUX__ -O2 -DEXTERN= -D_ANDROID_

LOCAL_C_INCLUDES := $(LOCAL_PATH)/control\
     $(LOCAL_PATH)/control/jni \

LOCAL_LDFLAGS += -lm -lc -llog -Wl,-Bsymbolic

LOCAL_LDLIBS    := -llog -ldl
          
LOCAL_STATIC_LIBRARIES += libH264Decoder

LOCAL_SRC_FILES  := $(wildcard $(LOCAL_PATH)/control/*.cpp) \
      $(wildcard $(LOCAL_PATH)/control/*.c) \
      $(wildcard $(LOCAL_PATH)/control/jni/*.cpp) \
      $(wildcard $(LOCAL_PATH)/control/jni/*.c) \
     
LOCAL_MODULE_TAGS := optional

include $(BUILD_SHARED_LIBRARY)

include $(call  all-makefiles-under, $(LOCAL_PATH))


 

你可能感兴趣的:(ndk makefile)