-
Notifications
You must be signed in to change notification settings - Fork 1
/
Android.mk
38 lines (28 loc) · 1.23 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
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := MT2D
SDL_PATH := ../SDL
SDL_IMAGE_PATH := ../SDL2_image
SDL_MIXER_PATH := ../SDL2_mixer
LOCAL_C_INCLUDES := $(LOCAL_PATH)/$(SDL_PATH)/include \ $(LOCAL_PATH)/$(SDL_MIXER_PATH) \ $(LOCAL_PATH)/$(SDL_IMAGE_PATH)
LOCAL_SRC_FILES := \
$(subst $(LOCAL_PATH)/,, \
$(wildcard $(LOCAL_PATH)/MT2D/*.cpp) \
$(wildcard $(LOCAL_PATH)/MT2D/Audio/*.cpp) \
$(wildcard $(LOCAL_PATH)/MT2D/Container/*.cpp) \
$(wildcard $(LOCAL_PATH)/MT2D/Cursor/*.cpp) \
$(wildcard $(LOCAL_PATH)/MT2D/InputBox/*.cpp) \
$(wildcard $(LOCAL_PATH)/MT2D/Joystick/*.cpp) \
$(wildcard $(LOCAL_PATH)/MT2D/MessageBox/*.cpp) \
$(wildcard $(LOCAL_PATH)/MT2D/ObjectCore/*.cpp) \
$(wildcard $(LOCAL_PATH)/MT2D/SDL/*.cpp) \
$(wildcard $(LOCAL_PATH)/MT2D/SDL/Audio/*.cpp) \
$(wildcard $(LOCAL_PATH)/MT2D/SDL/IO/*.cpp) \
$(wildcard $(LOCAL_PATH)/MT2D/SDL/Render/*.cpp) \
$(wildcard $(LOCAL_PATH)/MT2D/Tools/UserInterface/*.cpp) \
$(wildcard $(LOCAL_PATH)/MT2D/_ANDROID/*.cpp) \
$(wildcard $(LOCAL_PATH)/MT2D/_ANDROID/IO/*.cpp) \
$(wildcard $(LOCAL_PATH)/MT2D/Tools/Video/*.cpp))
LOCAL_SHARED_LIBRARIES := SDL2 SDL2_mixer SDL2_image
LOCAL_EXPORT_C_INCLUDES += $(LOCAL_C_INCLUDES)
include $(BUILD_SHARED_LIBRARY)