X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2FAndroid.mk;h=517415021a13943cb6d0ee03307198e031dcae50;hb=bcb1d6118c2d3484e1881a78fd859562745aa553;hp=f0755630c59cedb633c2bd8f120bdf4ce65dc155;hpb=b641818c787e48bbf03ce2a0cd5b542c4c21e523;p=rocksndiamonds.git diff --git a/src/Android.mk b/src/Android.mk index f0755630..51741502 100644 --- a/src/Android.mk +++ b/src/Android.mk @@ -28,9 +28,11 @@ LOCAL_C_INCLUDES := \ 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 @@ -44,6 +46,8 @@ LOCAL_SRC_FILES := $(SDL_PATH)/src/main/android/SDL_android_main.c \ libgame/image.c \ libgame/random.c \ libgame/hash.c \ + libgame/http.c \ + libgame/base64.c \ libgame/setup.c \ libgame/misc.c \ libgame/sdl.c \