X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2FAndroid.mk;h=f076793a42f80251f41ace9db19f92951220f35c;hb=1856b32b9d7b3c80596362cf7a3dd8e032cd83fc;hp=9cc304735b4f7251ca54bdabfdc35123bea48723;hpb=0896ebe9d29a756c7adc005c6b93ff28f2fd396d;p=rocksndiamonds.git diff --git a/src/Android.mk b/src/Android.mk index 9cc30473..f076793a 100644 --- a/src/Android.mk +++ b/src/Android.mk @@ -1,7 +1,7 @@ # ============================================================================= # Rocks'n'Diamonds - McDuffin Strikes Back! # ----------------------------------------------------------------------------- -# (c) 1995-2014 by Artsoft Entertainment +# (c) 1995-2024 by Artsoft Entertainment # Holger Schemel # info@artsoft.org # https://www.artsoft.org/ @@ -28,9 +28,11 @@ LOCAL_C_INCLUDES := \ DEBUG = -DDEBUG -g OPTIONS = $(DEBUG) -Wall # only for debugging purposes -# OPTIONS = -O2 -Wall # distribution build -# LOCAL_CFLAGS := -DTARGET_SDL2 +ifdef BUILD_DIST # distribution build +OPTIONS = -O2 -Wall +endif + LOCAL_CFLAGS := -DTARGET_SDL2 $(OPTIONS) # application source code files @@ -44,6 +46,9 @@ LOCAL_SRC_FILES := $(SDL_PATH)/src/main/android/SDL_android_main.c \ libgame/image.c \ libgame/random.c \ libgame/hash.c \ + libgame/list.c \ + libgame/http.c \ + libgame/base64.c \ libgame/setup.c \ libgame/misc.c \ libgame/sdl.c \ @@ -51,6 +56,19 @@ LOCAL_SRC_FILES := $(SDL_PATH)/src/main/android/SDL_android_main.c \ libgame/zip/iowin32.c \ libgame/zip/unzip.c \ libgame/zip/miniunz.c \ + game_bd/main_bd.c \ + game_bd/bd_cave.c \ + game_bd/bd_cavedb.c \ + game_bd/bd_caveengine.c \ + game_bd/bd_caveobject.c \ + game_bd/bd_bdcff.c \ + game_bd/bd_caveset.c \ + game_bd/bd_c64import.c \ + game_bd/bd_gameplay.c \ + game_bd/bd_graphics.c \ + game_bd/bd_colors.c \ + game_bd/bd_random.c \ + game_bd/bd_sound.c \ game_em/cave.c \ game_em/convert.c \ game_em/graphics.c \ @@ -101,6 +119,7 @@ LOCAL_SRC_FILES := $(SDL_PATH)/src/main/android/SDL_android_main.c \ files.c \ tape.c \ anim.c \ + api.c \ network.c \ netserv.c