Skip to content

Instantly share code, notes, and snippets.

@jayrambhia
Last active January 4, 2016 08:09
Show Gist options
  • Save jayrambhia/8593035 to your computer and use it in GitHub Desktop.
Save jayrambhia/8593035 to your computer and use it in GitHub Desktop.
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
include <Path of OpenCV.mk> # OpenCV-2.4.8-android-sdk/sdk/native/jni/OpenCV.mk
LOCAL_MODULE := <module name>
LOCAL_SRC_FILES := <list of .c and .cpp files>
LOCAL_LDLIBS += -llog -ldl
include $(BUILD_SHARED_LIBRARY)
APP_STL := gnustl_static
APP_CPPFLAGS := -frtti -fexceptions
APP_ABI := armeabi-v7a
APP_PLATFORM := android-8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment