projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added property for growing BD engine game elements
[rocksndiamonds.git]
/
src
/
Android.mk
diff --git
a/src/Android.mk
b/src/Android.mk
index 9cc304735b4f7251ca54bdabfdc35123bea48723..a644d93a1b7c85d7ff8b93584a5386b81c326217 100644
(file)
--- 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
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
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/image.c \
libgame/random.c \
libgame/hash.c \
+ libgame/http.c \
+ libgame/base64.c \
libgame/setup.c \
libgame/misc.c \
libgame/sdl.c \
libgame/setup.c \
libgame/misc.c \
libgame/sdl.c \
@@
-101,6
+105,7
@@
LOCAL_SRC_FILES := $(SDL_PATH)/src/main/android/SDL_android_main.c \
files.c \
tape.c \
anim.c \
files.c \
tape.c \
anim.c \
+ api.c \
network.c \
netserv.c
network.c \
netserv.c