1 # =============================================================================
2 # Rocks'n'Diamonds - McDuffin Strikes Back!
3 # -----------------------------------------------------------------------------
4 # (c) 1995-2014 by Artsoft Entertainment
7 # http://www.artsoft.org/
8 # -----------------------------------------------------------------------------
10 # =============================================================================
12 LOCAL_PATH := $(call my-dir)
18 SDL_PATH := ../Special/Android/jni/SDL2-2.0.1
19 SDL_IMAGE_PATH := ../Special/Android/jni/SDL2_image-2.0.0
20 SDL_MIXER_PATH := ../Special/Android/jni/SDL2_mixer-2.0.0
21 SDL_NET_PATH := ../Special/Android/jni/SDL2_net-2.0.0
24 $(LOCAL_PATH)/$(SDL_PATH)/include \
25 $(LOCAL_PATH)/$(SDL_IMAGE_PATH) \
26 $(LOCAL_PATH)/$(SDL_MIXER_PATH) \
27 $(LOCAL_PATH)/$(SDL_NET_PATH)
30 OPTIONS = $(DEBUG) -Wall # only for debugging purposes
31 # OPTIONS = -O3 -Wall # distribution build
33 # LOCAL_CFLAGS := -DTARGET_SDL2
34 LOCAL_CFLAGS := -DTARGET_SDL2 $(OPTIONS)
36 # application source code files
37 LOCAL_SRC_FILES := $(SDL_PATH)/src/main/android/SDL_android_main.c \
61 game_em/tab_generate.c \
62 game_em/ulaw_generate.c \
68 game_sp/BugsTerminals.c \
69 game_sp/DDScrollBuffer.c \
70 game_sp/DDSpriteBuffer.c \
72 game_sp/DoGameStuff.c \
74 game_sp/Explosions.c \
77 game_sp/InitGameConditions.c \
80 game_sp/MainGameLoop.c \
82 game_sp/OrangeDisk.c \
104 LOCAL_SHARED_LIBRARIES := SDL2 SDL2_image SDL2_mixer SDL2_net smpeg2
106 LOCAL_LDLIBS := -lGLESv1_CM -llog
108 include $(BUILD_SHARED_LIBRARY)