2013-03-03 10:30:39 +08:00
|
|
|
TARGET = libextension.a
|
2013-02-19 17:28:49 +08:00
|
|
|
|
2013-10-22 18:01:56 +08:00
|
|
|
INCLUDES = -I..
|
|
|
|
|
|
|
|
SOURCES = \
|
|
|
|
assets-manager/AssetsManager.cpp \
|
|
|
|
GUI/CCControlExtension/CCControl.cpp \
|
|
|
|
GUI/CCControlExtension/CCControlButton.cpp \
|
|
|
|
GUI/CCControlExtension/CCControlColourPicker.cpp \
|
|
|
|
GUI/CCControlExtension/CCControlHuePicker.cpp \
|
|
|
|
GUI/CCControlExtension/CCControlPotentiometer.cpp \
|
|
|
|
GUI/CCControlExtension/CCControlSaturationBrightnessPicker.cpp \
|
|
|
|
GUI/CCControlExtension/CCControlSlider.cpp \
|
|
|
|
GUI/CCControlExtension/CCControlStepper.cpp \
|
|
|
|
GUI/CCControlExtension/CCControlSwitch.cpp \
|
|
|
|
GUI/CCControlExtension/CCControlUtils.cpp \
|
|
|
|
GUI/CCControlExtension/CCInvocation.cpp \
|
|
|
|
GUI/CCControlExtension/CCScale9Sprite.cpp \
|
|
|
|
GUI/CCEditBox/CCEditBox.cpp \
|
|
|
|
GUI/CCEditBox/CCEditBoxImplAndroid.cpp \
|
|
|
|
GUI/CCEditBox/CCEditBoxImplNone.cpp \
|
|
|
|
GUI/CCEditBox/CCEditBoxImplTizen.cpp \
|
|
|
|
GUI/CCEditBox/CCEditBoxImplWin.cpp \
|
|
|
|
GUI/CCScrollView/CCScrollView.cpp \
|
|
|
|
GUI/CCScrollView/CCSorting.cpp \
|
|
|
|
GUI/CCScrollView/CCTableView.cpp \
|
|
|
|
GUI/CCScrollView/CCTableViewCell.cpp \
|
|
|
|
physics-nodes/CCPhysicsDebugNode.cpp \
|
|
|
|
physics-nodes/CCPhysicsSprite.cpp
|
|
|
|
|
|
|
|
include ../../cocos/2d/cocos2dx.mk
|
|
|
|
|
|
|
|
CXXFLAGS += -Wno-multichar -Wno-unused-result
|
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 $@
|