-
Notifications
You must be signed in to change notification settings - Fork 1
/
Android.mk
51 lines (38 loc) · 1.43 KB
/
Android.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
LOCAL_PATH := $(call my-dir)
###########################
#
# Solarus shared library
#
###########################
include $(CLEAR_VARS)
LOCAL_MODULE := Solarus
LOCAL_C_INCLUDES := $(LOCAL_PATH)/include $(LOCAL_PATH)/include/solarus/third_party $(LOCAL_PATH)/include/solarus/third_party/snes_spc jni/lua51/include
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_C_INCLUDES)
LOCAL_SRC_FILES := \
$(subst $(LOCAL_PATH)/,, \
$(wildcard $(LOCAL_PATH)/src/audio/*.cpp) \
$(wildcard $(LOCAL_PATH)/src/core/*.cpp) \
$(wildcard $(LOCAL_PATH)/src/entities/*.cpp) \
$(wildcard $(LOCAL_PATH)/src/graphics/*.cpp) \
$(wildcard $(LOCAL_PATH)/src/graphics/sdlrenderer/*.cpp) \
$(wildcard $(LOCAL_PATH)/src/graphics/glrenderer/*.cpp) \
$(wildcard $(LOCAL_PATH)/src/hero/*.cpp) \
$(wildcard $(LOCAL_PATH)/src/lua/*.cpp) \
$(wildcard $(LOCAL_PATH)/src/movements/*.cpp) \
$(wildcard $(LOCAL_PATH)/src/third_party/snes_spc/*.cpp) \
$(wildcard $(LOCAL_PATH)/src/third_party/hqx/*.c))
#LOCAL_CFLAGS += -DGL_GLEXT_PROTOTYPES
LOCAL_SHARED_LIBRARIES := SDL2 SDL2_image SDL2_ttf modplug openal PhysicsFS libvorbis lua
LOCAL_LDLIBS := -ldl -lGLESv1_CM -lGLESv2 -llog -landroid
cmd-strip :=
include $(BUILD_SHARED_LIBRARY)
###########################
#
# SDL static library
#
###########################
#LOCAL_MODULE := SDL2_static
#LOCAL_MODULE_FILENAME := libSDL2
#LOCAL_LDLIBS :=
#LOCAL_EXPORT_LDLIBS := -ldl -lGLESv1_CM -lGLESv2 -llog -landroid
#include $(BUILD_STATIC_LIBRARY)