and will solve some cross-referencing problems, like SDL_init called from static constructors.
15 lines
308 B
Makefile
15 lines
308 B
Makefile
LOCAL_PATH := $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_MODULE := stlport
|
|
|
|
LOCAL_CFLAGS := -I$(LOCAL_PATH)/stlport -I$(LOCAL_PATH)/src
|
|
|
|
LOCAL_CPP_EXTENSION := .cpp
|
|
|
|
LOCAL_SRC_FILES := $(addprefix src/,$(notdir $(wildcard $(LOCAL_PATH)/src/*.cpp $(LOCAL_PATH)/src/*.c))))
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|
|
|