mirror of
https://github.com/gozfree/gear-lib.git
synced 2026-02-07 03:53:14 +08:00
20 lines
371 B
Makefile
20 lines
371 B
Makefile
LOCAL_PATH := $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
# because liblog is used by android default, so change to libglog
|
|
LOCAL_MODULE := libglog
|
|
|
|
ifeq ($(MODE), release)
|
|
LOCAL_CFLAGS += -O2
|
|
endif
|
|
|
|
LIBRARIES_DIR := $(LOCAL_PATH)/../
|
|
|
|
LOCAL_C_INCLUDES := $(LOCAL_PATH)
|
|
|
|
# Add your application source files here...
|
|
LOCAL_SRC_FILES := liblog.c
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|