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