I got a simple problem.
Here's my Android.mk:
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := libandroidgameengine
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../include/ \
$(LOCAL_PATH)/../interface/ \
$(LOCAL_PATH)/../include/Render \
$(LOCAL_PATH)/../include/Utils
LOCAL_SRC_FILES := # Core
../src/Engine.cpp \
# Rendering
../src/Render/RenderManagerImpl.cpp \
# Utils
../src/Utils/LogManagerImpl.cpp \
# Memory
../src/Memory/MemoryManagerImpl.cpp \
../src/Memory/malloc.c
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_C_INCLUDES)
LOCAL_CFLAGS := -DSTRUCT_MALLINFO_DECLARED
LOCAL_LDLIBS := -lGLESv2 -llog
I keep getting "Android.mk:11 * commands commence before first target" Error. I know it has something to do with the way I structured the source files (with hashtags to symbolize specific parts of the engine) but I do not understand how it is actually supposed to look like. Any hints? include $(BUILD_STATIC_LIBRARY)