mirror of https://github.com/axmolengine/axmol.git
24 lines
581 B
Makefile
24 lines
581 B
Makefile
LOCAL_PATH := $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
$(call import-add-path,$(LOCAL_PATH)/../../cocos2d)
|
|
$(call import-add-path,$(LOCAL_PATH)/../../cocos2d/external)
|
|
$(call import-add-path,$(LOCAL_PATH)/../../cocos2d/cocos)
|
|
|
|
LOCAL_MODULE := cocos2dcpp_shared
|
|
|
|
LOCAL_MODULE_FILENAME := libcocos2dcpp
|
|
|
|
LOCAL_SRC_FILES := hellocpp/main.cpp \
|
|
../../src/AppDelegate.cpp \
|
|
../../src/HelloWorldScene.cpp
|
|
|
|
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../src
|
|
|
|
LOCAL_STATIC_LIBRARIES := cocos2dx_static
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|
|
|
|
$(call import-module,.)
|