20 lines
531 B
Makefile
20 lines
531 B
Makefile
|
LOCAL_PATH := $(call my-dir)
|
||
|
|
||
|
include $(CLEAR_VARS)
|
||
|
|
||
|
LOCAL_MODULE := test-cogl-hello
|
||
|
LOCAL_SRC_FILES := main.c
|
||
|
LOCAL_LDLIBS := -llog -landroid -lEGL -lGLESv1_CM
|
||
|
LOCAL_STATIC_LIBRARIES := cogl android_native_app_glue gobject gmodule gthread glib-android glib iconv
|
||
|
LOCAL_ARM_MODE := arm
|
||
|
LOCAL_CFLAGS := \
|
||
|
-DG_LOG_DOMAIN=\"TestCoglHello\" \
|
||
|
-DCOGL_ENABLE_EXPERIMENTAL_2_0_API \
|
||
|
$(NULL)
|
||
|
|
||
|
include $(BUILD_SHARED_LIBRARY)
|
||
|
|
||
|
$(call import-module,android/native_app_glue)
|
||
|
$(call import-module,glib)
|
||
|
$(call import-module,cogl)
|