Source

ocaml-toplevel-android / jni / Android.mk

keigoi 3f8b2c3 


keigoi e9f1510 
keigoi 3f8b2c3 




keigoi 1c1ac76 
keigoi 3f8b2c3 
# EDIT BELOW
OCAMLANDROID_PREFIX=/Users/keigoi/usr/android-ocaml

NDK_MODULE_PATH := lib
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE    := ocamltop
LOCAL_SRC_FILES := libocamltop.c start.c
LOCAL_CFLAGS    := -std=c99 -I$(OCAMLANDROID_PREFIX)/lib/ocaml 
LOCAL_LDLIBS := -llog  -L$(NDK_APP_PROJECT_PATH)/jni -lcamlrun

include $(BUILD_SHARED_LIBRARY)