mingw, Android fixes

This commit is contained in:
BADIM-PC\Vadim
2018-01-08 15:35:39 +03:00
parent 4915bc7b66
commit ab4d0cd9cb
23 changed files with 1060 additions and 546 deletions

View File

@@ -1,5 +1,10 @@
# Uncomment this if you're using STL in your project
# See CPLUSPLUS-SUPPORT.html in the NDK documentation for more information
# APP_STL := stlport_static
APP_ABI := armeabi armeabi-v7a x86
# Min SDK level
APP_PLATFORM=android-10

View File

@@ -4,19 +4,17 @@ include $(CLEAR_VARS)
LOCAL_CFLAGS += -O3 -Wall -std=c99 -D"log2(x)=(log(x)/log(2))"
LOCAL_MODULE := main
SDL_PATH := ../../../../../3rd-party/SDL2-2.0.5
SRC_PATH := ../../../../src
INCLUDE_PATH := ../../../../include
LOCAL_C_INCLUDES := \
$(LOCAL_PATH)/$(SDL_PATH)/include \
$(LOCAL_PATH)/$(INCLUDE_PATH) \
$(LOCAL_PATH)/$(INCLUDE_PATH)/lua \
$(LOCAL_PATH)/$(INCLUDE_PATH)/tic80 \
$(LOCAL_PATH)/$(INCLUDE_PATH)/gif
# Add your application source files here...
LOCAL_SRC_FILES := $(SDL_PATH)/src/main/android/SDL_android_main.c \
$(SRC_PATH)/studio.c \
LOCAL_SRC_FILES := $(SRC_PATH)/studio.c \
$(SRC_PATH)/console.c \
$(SRC_PATH)/html.c \
$(SRC_PATH)/run.c \