initial commit for android
This commit is contained in:
1 parent
459b66b955
commit
a553a86f1a
26 files changed
+1838
-1
No files matched your search
@@ -0,0 +1 @@
|
||||
include $(call all-subdir-makefiles)
|
||||
@@ -0,0 +1,3 @@
|
||||
APP_ABI := x86 armeabi-v7a
|
||||
APP_PLATFORM := android-23
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_MODULE := main
|
||||
|
||||
SDL_PATH := ../SDL
|
||||
|
||||
LOCAL_CFLAGS += -g -std=c99
|
||||
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/$(SDL_PATH)/include
|
||||
|
||||
YOUR_SRC_FILES= main.c model.c
|
||||
|
||||
LOCAL_SRC_FILES := $(SDL_PATH)/src/main/android/SDL_android_main.c $(YOUR_SRC_FILES)
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := SDL2 SDL2_ttf SDL2_image
|
||||
|
||||
LOCAL_LDLIBS := -lGLESv1_CM -lGLESv2 -llog -lgame
|
||||
|
||||
include $(BUILD_SHARED_LIBRARY)
|
||||
Symlink
+1
@@ -0,0 +1 @@
|
||||
../../../game.c
|
||||
Symlink
+1
@@ -0,0 +1 @@
|
||||
../../../game_aux.c
|
||||
Symlink
+1
@@ -0,0 +1 @@
|
||||
../../../game_ext.c
|
||||
Symlink
+1
@@ -0,0 +1 @@
|
||||
../../../game_private.c
|
||||
Symlink
+1
@@ -0,0 +1 @@
|
||||
../../../game_tools.c
|
||||
Symlink
+1
@@ -0,0 +1 @@
|
||||
../../../history.c
|
||||
Symlink
+1
@@ -0,0 +1 @@
|
||||
../../../main.c
|
||||
Symlink
+1
@@ -0,0 +1 @@
|
||||
../../../model.c
|
||||
Reference in new issue
Block a user