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
libgame/image.c \
libgame/random.c \
libgame/hash.c \
+ libgame/http.c \
+ libgame/base64.c \
libgame/setup.c \
libgame/misc.c \
libgame/sdl.c \