19 lines
495 B
Makefile
19 lines
495 B
Makefile
LOCAL_PATH := $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_MODULE := sdl_gfx
|
|
|
|
LOCAL_C_INCLUDES := $(LOCAL_PATH) $(LOCAL_PATH)/.. $(LOCAL_PATH)/../sdl-$(SDL_VERSION)/include $(LOCAL_PATH)/include
|
|
LOCAL_CFLAGS := -O3
|
|
|
|
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))
|
|
|
|
LOCAL_SHARED_LIBRARIES := sdl-$(SDL_VERSION)
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|
|
|