# (c) 1995-2014 by Artsoft Entertainment
# Holger Schemel
# info@artsoft.org
-# http://www.artsoft.org/
+# https://www.artsoft.org/
# -----------------------------------------------------------------------------
# src/Android.mk
# =============================================================================
DEBUG = -DDEBUG -g
OPTIONS = $(DEBUG) -Wall # only for debugging purposes
-# OPTIONS = -O3 -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
libgame/image.c \
libgame/random.c \
libgame/hash.c \
+ libgame/http.c \
+ libgame/base64.c \
libgame/setup.c \
libgame/misc.c \
libgame/sdl.c \
files.c \
tape.c \
anim.c \
+ api.c \
network.c \
netserv.c