Skip to content

Instantly share code, notes, and snippets.

@seven332
Created June 26, 2016 13:56
Show Gist options
  • Select an option

  • Save seven332/1ffc05d06b9b8c90e4b83bd44f3bd583 to your computer and use it in GitHub Desktop.

Select an option

Save seven332/1ffc05d06b9b8c90e4b83bd44f3bd583 to your computer and use it in GitHub Desktop.
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := lua
LOCAL_C_INCLUDES := $(LOCAL_PATH)/src
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_C_INCLUDES)
LOCAL_CFLAGS := -DLUA_USE_LINUX -DLUA_USE_C89 -Dlua_getlocaledecpoint()=\'.\'
LOCAL_SRC_FILES := $(filter-out src/lua.c src/luac.c, $(subst $(LOCAL_PATH)/,, $(wildcard $(LOCAL_PATH)/src/*.c)))
include $(BUILD_STATIC_LIBRARY)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment