add triangle jni source
This commit is contained in:
13
jni/Android.mk
Normal file
13
jni/Android.mk
Normal file
@@ -0,0 +1,13 @@
|
||||
LOCAL_PATH:= $(call my-dir)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
# TRILIBDEFS = -DTRILIBRARY -DREDUCED -DCDT_ONLY
|
||||
LOCAL_CFLAGS := -O -DTRILIBRARY -DREDUCED -DCDT_ONLY -Werror
|
||||
# -DLINUX -> no fpu_control in bionic, needed ?
|
||||
|
||||
LOCAL_MODULE := triangle-jni
|
||||
LOCAL_SRC_FILES := TriangleJni.c triangle.c
|
||||
LOCAL_LDLIBS := -llog
|
||||
|
||||
include $(BUILD_SHARED_LIBRARY)
|
||||
Reference in New Issue
Block a user