Created
February 3, 2015 01:41
-
-
Save tklee1975/44d7a76908625ad6f1da to your computer and use it in GitHub Desktop.
Sample Android.mk that include a source list
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LOCAL_PATH := $(call my-dir) | |
include $(CLEAR_VARS) | |
LOCAL_CPPFLAGS := -DENABLE_TDD | |
LOCAL_MODULE := cocos2dcpp_shared | |
LOCAL_MODULE_FILENAME := libcocos2dcpp | |
# define LOCAL_SRC_FILES & LOCAL_C_INCLUDES | |
CLASS_PATH :=../../Classes | |
include $(LOCAL_PATH)/Sources.mk | |
LOCAL_WHOLE_STATIC_LIBRARIES := cocos2dx_static | |
LOCAL_WHOLE_STATIC_LIBRARIES += cocos_extension_static | |
LOCAL_WHOLE_STATIC_LIBRARIES += cocosdenshion_static | |
# ??? | |
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/Classes | |
include $(BUILD_SHARED_LIBRARY) | |
$(call import-module,2d) | |
$(call import-module,extensions) | |
$(call import-module,audio/android) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Work with https://gist.github.com/tklee1975/02e0657e6fc6be2de626