split up
This commit is contained in:
38
vtm-android/jni/Android.mk
Normal file
38
vtm-android/jni/Android.mk
Normal file
@@ -0,0 +1,38 @@
|
||||
LOCAL_PATH:= $(call my-dir)
|
||||
# APP_OPTIM := debug
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
# TRILIBDEFS = -DTRILIBRARY -DREDUCED -DCDT_ONLY
|
||||
LOCAL_CFLAGS := -O -DTRILIBRARY -DREDUCED -DCDT_ONLY -DNO_TIMER -Werror -std=c99
|
||||
# -DLINUX -> no fpu_control in bionic, needed ?
|
||||
|
||||
LOCAL_MODULE := triangle
|
||||
LOCAL_SRC_FILES := triangle/TriangleJni.c triangle/triangle.c triangle/triangle_dbg.c
|
||||
LOCAL_LDLIBS := -llog
|
||||
|
||||
include $(BUILD_SHARED_LIBRARY)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_MODULE := glutils
|
||||
#LOCAL_ARM_MODE := arm
|
||||
LOCAL_CFLAGS := -Werror -O2 -ffast-math -std=c99
|
||||
LOCAL_SRC_FILES := gl/utils.c
|
||||
LOCAL_LDLIBS := -llog -lGLESv2
|
||||
|
||||
include $(BUILD_SHARED_LIBRARY)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_MODULE := tessellate
|
||||
#LOCAL_ARM_MODE := arm
|
||||
LOCAL_CFLAGS := -Werror -O2 -ffast-math -std=c99
|
||||
LOCAL_SRC_FILES := tessellate/dict.c tessellate/mesh.c \
|
||||
tessellate/render.c tessellate/tess.c tessellate/geom.c \
|
||||
tessellate/memalloc.c tessellate/normal.c \
|
||||
tessellate/priorityq.c tessellate/sweep.c \
|
||||
tessellate/tessmono.c tessellate/tessellate.c
|
||||
LOCAL_LDLIBS := -llog
|
||||
|
||||
include $(BUILD_SHARED_LIBRARY)
|
||||
Reference in New Issue
Block a user