1LOCAL_PATH := $(call my-dir) 2 3include $(CLEAR_VARS) 4LOCAL_MODULE := libfoo 5LOCAL_SRC_FILES := foo.c 6 7# LOCAL_LDFLAGS are always ignored for static libraries. 8# This should generate a warning when ndk-build is run! 9LOCAL_LDFLAGS := -llog 10 11include $(BUILD_STATIC_LIBRARY) 12