X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2FAndroid.mk;h=0652311ffd768d6e7c7dc36fcd5ed4d8150a4e82;hp=f0755630c59cedb633c2bd8f120bdf4ce65dc155;hb=67f3bfab902e53e0dc24a01eb6c0e4d274030a47;hpb=b641818c787e48bbf03ce2a0cd5b542c4c21e523 diff --git a/src/Android.mk b/src/Android.mk index f0755630..0652311f 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