files, however the one on top is generated and the below one is not.
My classes class-a and class-b are in the same folder named jni under
project directory.
Here is my mk file.
MY_LOCAL_PATH := $(call my-dir)
include $(all-subdir-makefiles)
LOCAL_PATH :=$(MY_LOCAL_PATH)
include $(CLEAR_VARS)
LOCAL_MODULE := class-a
LOCAL_SRC_FILES := class-a.c
LOCAL_C_INCLUDES := $(MY_LOCAL_PATH) $(MY_LOCAL_PATH)/somefolder
LOCAL_SHARED_LIBRARIES := somelibrary
LOCAL_LDLIBS += -lz -llog
include $(BUILD_SHARED_LIBRARY)
include $(CLEAR_VARS)
LOCAL_MODULE := class-b
LOCAL_SRC_FILES := class-b.c
LOCAL_C_INCLUDES := $(MY_LOCAL_PATH) $(MY_LOCAL_PATH)/somefolder
LOCAL_SHARED_LIBRARIES := somelibrary
LOCAL_LDLIBS += -lz -llog
include $(BUILD_SHARED_LIBRARY)
How can I make a seperate .so file for my class-b?
--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To view this discussion on the web visit https://groups.google.com/d/msg/android-ndk/-/3gtpr7158n0J.
To post to this group, send email to android-ndk@googlegroups.com.
To unsubscribe from this group, send email to android-ndk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/android-ndk?hl=en.