Created
March 1, 2022 23:39
-
-
Save rumplestilzken/787b6525a7e2bb38dc0a5202306a4b7c to your computer and use it in GitHub Desktop.
Android.mk used to compile lua as a static library, tested compiling SDL android
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LOCAL_PATH := $(call my-dir) | |
include $(CLEAR_VARS) | |
LOCAL_MODULE := lua | |
LOCAL_CFLAGS := -DLUA_ANSI | |
LOCAL_SRC_FILES := \ | |
$(subst $(LOCAL_PATH)/,, \ | |
$(wildcard $(LOCAL_PATH)/*.c)) | |
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH) | |
include $(BUILD_STATIC_LIBRARY) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment