- Moved to 'project' instead of 'testproject' - Removed extraneous .c files - Removed the android_libs folder (that was against the NDK agreement anyway)
18 lines
355 B
Makefile
18 lines
355 B
Makefile
LOCAL_PATH := $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_MODULE := sdlapp
|
|
SDL := ../../../
|
|
|
|
LOCAL_CFLAGS := -DANDROID_NDK \
|
|
-DDISABLE_IMPORTGL \
|
|
-I$(SDL)/include
|
|
|
|
LOCAL_SRC_FILES := \
|
|
android-support.cpp \
|
|
lesson05.c \
|
|
|
|
LOCAL_LDLIBS := -lGLESv1_CM -ldl -llog -lSDL -lgcc -L$(SDL)
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|