X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2FAndroid.mk;h=0652311ffd768d6e7c7dc36fcd5ed4d8150a4e82;hp=9cc304735b4f7251ca54bdabfdc35123bea48723;hb=5c2e96fed3e68bb01df1c12ac2174173b544662c;hpb=0896ebe9d29a756c7adc005c6b93ff28f2fd396d diff --git a/src/Android.mk b/src/Android.mk index 9cc30473..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 = -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