and will solve some cross-referencing problems, like SDL_init called from static constructors.
16 lines
359 B
Makefile
16 lines
359 B
Makefile
LOCAL_PATH := $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_MODULE := tremor
|
|
|
|
LOCAL_CFLAGS := -I$(LOCAL_PATH) -DHAVE_ALLOCA_H
|
|
|
|
LOCAL_CPP_EXTENSION := .cpp
|
|
|
|
# Note this simple makefile var substitution, you can find even simpler examples in different Android projects
|
|
LOCAL_SRC_FILES := $(notdir $(wildcard $(LOCAL_PATH)/*.c))
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|
|
|