# Android makefile
# Build this using ndk as
# ndk-build NDK_PROJECT_PATH=.  APP_BUILD_SCRIPT=Android.mk
#

LOCAL_PATH := $(call my-dir)

include $(CLEAR_VARS)
LOCAL_MODULE := libOpenCL
LOCAL_C_INCLUDES := $(LOCAL_PATH)/include/
LOCAL_SRC_FILES :=  libopencl.c
LOCAL_CFLAGS   = -fPIC -O2

include $(BUILD_STATIC_LIBRARY)


# Android makefile
# Build this using ndk as
# ndk-build NDK_PROJECT_PATH=.  APP_BUILD_SCRIPT=Android.mk
#

LOCAL_PATH := $(call my-dir)

include $(CLEAR_VARS)
LOCAL_MODULE := libOpenCL
LOCAL_C_INCLUDES := $(LOCAL_PATH)/include/
LOCAL_SRC_FILES :=  src/libopencl.c
LOCAL_CFLAGS   = -fPIC -O2

include $(BUILD_STATIC_LIBRARY)


Edit android.mk for new src path
Edit android.mk for new src path
