2013-03-03 10:30:39 +08:00
|
|
|
TARGET = libextension.a
|
2013-02-19 17:28:49 +08:00
|
|
|
|
2013-03-03 10:30:39 +08:00
|
|
|
COCOS_ROOT=../..
|
2013-02-19 17:28:49 +08:00
|
|
|
|
2013-03-03 10:30:39 +08:00
|
|
|
INCLUDES = -I$(COCOS_ROOT)/external \
|
|
|
|
-I$(COCOS_ROOT)/external/chipmunk/include/chipmunk \
|
2013-03-20 10:41:20 +08:00
|
|
|
-I$(COCOS_ROOT)/CocosDenshion/include \
|
2013-03-03 10:30:39 +08:00
|
|
|
-I.. \
|
|
|
|
-I../CCBReader \
|
|
|
|
-I../GUI/CCControlExtension \
|
2013-05-24 13:55:05 +08:00
|
|
|
-I../GUI/CCEditBox \
|
2013-06-14 14:55:46 +08:00
|
|
|
-I../network \
|
2013-09-17 21:14:45 +08:00
|
|
|
-I../CocoStudio/Components \
|
|
|
|
-I../CocoStudio/Armature
|
2013-02-19 17:28:49 +08:00
|
|
|
|
2013-03-03 10:30:39 +08:00
|
|
|
SOURCES = ../CCBReader/CCBFileLoader.cpp \
|
|
|
|
../CCBReader/CCMenuItemImageLoader.cpp \
|
|
|
|
../CCBReader/CCBReader.cpp \
|
|
|
|
../CCBReader/CCMenuItemLoader.cpp \
|
|
|
|
../CCBReader/CCControlButtonLoader.cpp \
|
|
|
|
../CCBReader/CCNodeLoader.cpp \
|
|
|
|
../CCBReader/CCControlLoader.cpp \
|
|
|
|
../CCBReader/CCNodeLoaderLibrary.cpp \
|
|
|
|
../CCBReader/CCLabelBMFontLoader.cpp \
|
|
|
|
../CCBReader/CCParticleSystemQuadLoader.cpp \
|
|
|
|
../CCBReader/CCLabelTTFLoader.cpp \
|
|
|
|
../CCBReader/CCScale9SpriteLoader.cpp \
|
|
|
|
../CCBReader/CCLayerColorLoader.cpp \
|
|
|
|
../CCBReader/CCScrollViewLoader.cpp \
|
|
|
|
../CCBReader/CCLayerGradientLoader.cpp \
|
|
|
|
../CCBReader/CCSpriteLoader.cpp \
|
|
|
|
../CCBReader/CCLayerLoader.cpp \
|
|
|
|
../CCBReader/CCBAnimationManager.cpp \
|
|
|
|
../CCBReader/CCBKeyframe.cpp \
|
|
|
|
../CCBReader/CCBSequence.cpp \
|
|
|
|
../CCBReader/CCBSequenceProperty.cpp \
|
|
|
|
../CCBReader/CCBValue.cpp \
|
|
|
|
../CCBReader/CCNode+CCBRelativePositioning.cpp \
|
|
|
|
../GUI/CCScrollView/CCScrollView.cpp \
|
|
|
|
../GUI/CCScrollView/CCSorting.cpp \
|
|
|
|
../GUI/CCScrollView/CCTableView.cpp \
|
|
|
|
../GUI/CCScrollView/CCTableViewCell.cpp \
|
|
|
|
../GUI/CCControlExtension/CCControlButton.cpp \
|
|
|
|
../GUI/CCControlExtension/CCControlColourPicker.cpp \
|
|
|
|
../GUI/CCControlExtension/CCControl.cpp \
|
|
|
|
../GUI/CCControlExtension/CCControlHuePicker.cpp \
|
|
|
|
../GUI/CCControlExtension/CCControlSaturationBrightnessPicker.cpp \
|
|
|
|
../GUI/CCControlExtension/CCControlSlider.cpp \
|
|
|
|
../GUI/CCControlExtension/CCControlSwitch.cpp \
|
|
|
|
../GUI/CCControlExtension/CCControlUtils.cpp \
|
|
|
|
../GUI/CCControlExtension/CCInvocation.cpp \
|
|
|
|
../GUI/CCControlExtension/CCScale9Sprite.cpp \
|
|
|
|
../GUI/CCControlExtension/CCControlPotentiometer.cpp \
|
|
|
|
../GUI/CCControlExtension/CCControlStepper.cpp \
|
2013-05-24 11:42:27 +08:00
|
|
|
../GUI/CCEditBox/CCEditBox.cpp \
|
|
|
|
../GUI/CCEditBox/CCEditBoxImplNone.cpp \
|
2013-03-03 10:30:39 +08:00
|
|
|
../network/HttpClient.cpp \
|
|
|
|
../physics_nodes/CCPhysicsDebugNode.cpp \
|
2013-04-24 14:37:22 +08:00
|
|
|
../physics_nodes/CCPhysicsSprite.cpp \
|
2013-09-10 11:21:18 +08:00
|
|
|
../CocoStudio/Armature/CCArmature.cpp \
|
|
|
|
../CocoStudio/Armature/CCBone.cpp \
|
|
|
|
../CocoStudio/Armature/animation/CCArmatureAnimation.cpp \
|
|
|
|
../CocoStudio/Armature/animation/CCProcessBase.cpp \
|
|
|
|
../CocoStudio/Armature/animation/CCTween.cpp \
|
|
|
|
../CocoStudio/Armature/datas/CCDatas.cpp \
|
|
|
|
../CocoStudio/Armature/display/CCBatchNode.cpp \
|
|
|
|
../CocoStudio/Armature/display/CCDecorativeDisplay.cpp \
|
|
|
|
../CocoStudio/Armature/display/CCDisplayFactory.cpp \
|
|
|
|
../CocoStudio/Armature/display/CCDisplayManager.cpp \
|
|
|
|
../CocoStudio/Armature/display/CCSkin.cpp \
|
|
|
|
../CocoStudio/Armature/physics/CCColliderDetector.cpp \
|
2013-09-14 23:47:15 +08:00
|
|
|
../CocoStudio/Armature/utils/CCArmatureDefine.cpp \
|
2013-09-10 11:21:18 +08:00
|
|
|
../CocoStudio/Armature/utils/CCArmatureDataManager.cpp \
|
|
|
|
../CocoStudio/Armature/utils/CCDataReaderHelper.cpp \
|
|
|
|
../CocoStudio/Armature/utils/CCSpriteFrameCacheHelper.cpp \
|
|
|
|
../CocoStudio/Armature/utils/CCTransformHelp.cpp \
|
|
|
|
../CocoStudio/Armature/utils/CCTweenFunction.cpp \
|
|
|
|
../CocoStudio/Armature/utils/CCUtilMath.cpp \
|
2013-09-16 17:24:25 +08:00
|
|
|
../CocoStudio/Components/CCComAttribute.cpp \
|
|
|
|
../CocoStudio/Components/CCComAudio.cpp \
|
|
|
|
../CocoStudio/Components/CCComController.cpp \
|
|
|
|
../CocoStudio/Components/CCComRender.cpp \
|
|
|
|
../CocoStudio/Components/CCInputDelegate.cpp \
|
2013-09-15 17:36:01 +08:00
|
|
|
../CocoStudio/GUI/BaseClasses/UIRootWidget.cpp \
|
|
|
|
../CocoStudio/GUI/BaseClasses/UIWidget.cpp \
|
|
|
|
../CocoStudio/GUI/Layouts/Layout.cpp \
|
2013-09-16 17:24:25 +08:00
|
|
|
../CocoStudio/GUI/Layouts/LayoutParameter.cpp \
|
|
|
|
../CocoStudio/GUI/Layouts/UILayoutDefine.cpp \
|
|
|
|
../CocoStudio/GUI/System/CocosGUI.cpp \
|
|
|
|
../CocoStudio/GUI/System/UIHelper.cpp \
|
|
|
|
../CocoStudio/GUI/System/UIInputManager.cpp \
|
|
|
|
../CocoStudio/GUI/System/UILayer.cpp \
|
|
|
|
../CocoStudio/GUI/UIWidgets/UIButton.cpp \
|
|
|
|
../CocoStudio/GUI/UIWidgets/UICheckBox.cpp \
|
|
|
|
../CocoStudio/GUI/UIWidgets/UIImageView.cpp \
|
|
|
|
../CocoStudio/GUI/UIWidgets/UILabel.cpp \
|
|
|
|
../CocoStudio/GUI/UIWidgets/UILabelAtlas.cpp \
|
|
|
|
../CocoStudio/GUI/UIWidgets/UILabelBMFont.cpp \
|
|
|
|
../CocoStudio/GUI/UIWidgets/UILoadingBar.cpp \
|
|
|
|
../CocoStudio/GUI/UIWidgets/UISlider.cpp \
|
|
|
|
../CocoStudio/GUI/UIWidgets/UITextField.cpp \
|
|
|
|
../CocoStudio/GUI/UIWidgets/ScrollWidget/UIDragPanel.cpp \
|
|
|
|
../CocoStudio/GUI/UIWidgets/ScrollWidget/UIListView.cpp \
|
|
|
|
../CocoStudio/GUI/UIWidgets/ScrollWidget/UIPageView.cpp \
|
|
|
|
../CocoStudio/GUI/UIWidgets/ScrollWidget/UIScrollView.cpp \
|
2013-09-10 11:21:18 +08:00
|
|
|
../CocoStudio/Json/CSContentJsonDictionary.cpp \
|
|
|
|
../CocoStudio/Json/DictionaryHelper.cpp \
|
|
|
|
../CocoStudio/Json/lib_json/json_reader.cpp \
|
2013-09-16 17:24:25 +08:00
|
|
|
../CocoStudio/Json/lib_json/json_value.cpp \
|
2013-09-10 11:21:18 +08:00
|
|
|
../CocoStudio/Json/lib_json/json_writer.cpp \
|
2013-09-16 17:24:25 +08:00
|
|
|
../CocoStudio/Reader/CCSGUIReader.cpp \
|
2013-09-10 11:21:18 +08:00
|
|
|
../CocoStudio/Reader/CCSSceneReader.cpp \
|
2013-09-17 22:39:42 +08:00
|
|
|
../CocoStudio/Action/CCActionFrame.cpp \
|
|
|
|
../CocoStudio/Action/CCActionFrameEasing.cpp \
|
|
|
|
../CocoStudio/Action/CCActionManagerEx.cpp \
|
|
|
|
../CocoStudio/Action/CCActionNode.cpp \
|
|
|
|
../CocoStudio/Action/CCActionObject.cpp \
|
2013-04-24 14:37:22 +08:00
|
|
|
../spine/Animation.cpp \
|
|
|
|
../spine/AnimationState.cpp \
|
|
|
|
../spine/AnimationStateData.cpp \
|
|
|
|
../spine/Atlas.cpp \
|
|
|
|
../spine/AtlasAttachmentLoader.cpp \
|
|
|
|
../spine/Attachment.cpp \
|
|
|
|
../spine/AttachmentLoader.cpp \
|
|
|
|
../spine/Bone.cpp \
|
|
|
|
../spine/BoneData.cpp \
|
|
|
|
../spine/Json.cpp \
|
|
|
|
../spine/RegionAttachment.cpp \
|
|
|
|
../spine/Skeleton.cpp \
|
|
|
|
../spine/SkeletonData.cpp \
|
|
|
|
../spine/SkeletonJson.cpp \
|
|
|
|
../spine/Skin.cpp \
|
|
|
|
../spine/Slot.cpp \
|
|
|
|
../spine/SlotData.cpp \
|
|
|
|
../spine/extension.cpp \
|
2013-06-02 23:59:13 +08:00
|
|
|
../spine/spine-cocos2dx.cpp \
|
|
|
|
../spine/CCSkeleton.cpp \
|
2013-06-14 14:55:46 +08:00
|
|
|
../spine/CCSkeletonAnimation.cpp \
|
2013-07-26 16:43:40 +08:00
|
|
|
../CCDeprecated-ext.cpp
|
2013-02-19 17:28:49 +08:00
|
|
|
|
2013-03-03 10:30:39 +08:00
|
|
|
include $(COCOS_ROOT)/cocos2dx/proj.linux/cocos2dx.mk
|
2013-02-19 17:28:49 +08:00
|
|
|
|
2013-03-03 10:30:39 +08:00
|
|
|
CXXFLAGS += -Wno-multichar
|
2013-02-19 17:28:49 +08:00
|
|
|
|
2013-03-03 10:30:39 +08:00
|
|
|
TARGET := $(LIB_DIR)/$(TARGET)
|
2013-02-19 17:28:49 +08:00
|
|
|
|
2013-03-03 10:30:39 +08:00
|
|
|
all: $(TARGET)
|
2013-02-19 17:28:49 +08:00
|
|
|
|
2013-03-03 10:30:39 +08:00
|
|
|
$(TARGET): $(OBJECTS) $(CORE_MAKEFILE_LIST)
|
|
|
|
@mkdir -p $(@D)
|
|
|
|
$(LOG_AR)$(AR) $(ARFLAGS) $@ $(OBJECTS)
|
2013-02-19 17:28:49 +08:00
|
|
|
|
2013-03-03 10:30:39 +08:00
|
|
|
$(OBJ_DIR)/%.o: ../%.cpp $(CORE_MAKEFILE_LIST)
|
|
|
|
@mkdir -p $(@D)
|
|
|
|
$(LOG_CXX)$(CXX) $(CXXFLAGS) $(INCLUDES) $(DEFINES) -c $< -o $@
|
2013-02-19 17:28:49 +08:00
|
|
|
|
2013-03-03 10:30:39 +08:00
|
|
|
$(OBJ_DIR)/%.o: ../%.c $(CORE_MAKEFILE_LIST)
|
|
|
|
@mkdir -p $(@D)
|
|
|
|
$(LOG_CC)$(CC) $(CCFLAGS) $(INCLUDES) $(DEFINES) -c $< -o $@
|