Added sdl_ttf and freetype libs
This commit is contained in:
19
alienblaster/project/jni/sdl_ttf/Android.mk
Normal file
19
alienblaster/project/jni/sdl_ttf/Android.mk
Normal file
@@ -0,0 +1,19 @@
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_MODULE := sdl_ttf
|
||||
|
||||
LOCAL_CFLAGS := -I$(LOCAL_PATH) -I$(LOCAL_PATH)/../sdl/include -I$(LOCAL_PATH)/../freetype/include
|
||||
|
||||
LOCAL_CPP_EXTENSION := .cpp
|
||||
|
||||
# Note this simple makefile var substitution, you can find even simpler examples in different Android projects
|
||||
LOCAL_SRC_FILES := SDL_ttf.c
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := sdl
|
||||
LOCAL_STATIC_LIBRARIES := freetype
|
||||
LOCAL_LDLIBS := -lz
|
||||
|
||||
include $(BUILD_SHARED_LIBRARY)
|
||||
|
||||
Reference in New Issue
Block a user