############################################################################ # # Makefile for building : test_uphone_Arm.TMK3 # Created by TMK3_V2.3, please do not modify. # ############################################################################# TO_PROJECT_ROOT = ../../PRJ_TG3 OUTPUT_FILENAME = libTestUphone.so include $(TO_PROJECT_ROOT)/MakeInclude/Makefile_Base_DynamicLib.ARM include $(TO_PROJECT_ROOT)/MakeInclude/Makefile_TOPS_Def.ARM DEFINES += -DCCX_UNDER_UPHONE INCLUDE_PATH += -I. -I./Res \ -I../cocos2dx \ -I../cocos2dx/include \ -I../chipmunk/include -I../chipmunk/include/chipmunk LIBS += -lcocos2d -lchipmunk -lTG3_EGL -lTG3_GLESv1_CM -lTG3_GLESv2 OBJECTS_DIR = ./Debug-ARM DESTDIR = $(TO_PROJECT_ROOT)/$(BIN_OUTPUT_DIR) TARGET = $(DESTDIR)/$(OUTPUT_FILENAME) DEL_FILE = rm -f MKDIR = mkdir -p first: all OBJECTS = \ $(OBJECTS_DIR)/test_uphoneApp.o \ $(OBJECTS_DIR)/test_uphoneEntry.o \ $(OBJECTS_DIR)/test_uphoneMainForm.o \ $(OBJECTS_DIR)/TG3AppDllEntry.o \ $(OBJECTS_DIR)/controller.o \ $(OBJECTS_DIR)/testBasic.o \ $(OBJECTS_DIR)/ActionManagerTest.o \ $(OBJECTS_DIR)/ActionsTest.o \ $(OBJECTS_DIR)/AtlasTest.o \ $(OBJECTS_DIR)/Bounce.o \ $(OBJECTS_DIR)/cocos2dChipmunkDemo.o \ $(OBJECTS_DIR)/drawSpace.o \ $(OBJECTS_DIR)/Joints.o \ $(OBJECTS_DIR)/LogoSmash.o \ $(OBJECTS_DIR)/MagnetsElectric.o \ $(OBJECTS_DIR)/OneWay.o \ $(OBJECTS_DIR)/Planet.o \ $(OBJECTS_DIR)/Player.o \ $(OBJECTS_DIR)/Plink.o \ $(OBJECTS_DIR)/Pump.o \ $(OBJECTS_DIR)/PyramidStack.o \ $(OBJECTS_DIR)/PyramidTopple.o \ $(OBJECTS_DIR)/Query.o \ $(OBJECTS_DIR)/Sensors.o \ $(OBJECTS_DIR)/Simple.o \ $(OBJECTS_DIR)/Springies.o \ $(OBJECTS_DIR)/TheoJansen.o \ $(OBJECTS_DIR)/Tumble.o \ $(OBJECTS_DIR)/UnsafeOps.o \ $(OBJECTS_DIR)/ClickAndMoveTest.o \ $(OBJECTS_DIR)/CocosNodeTest.o \ $(OBJECTS_DIR)/DrawPrimitivesTest.o \ $(OBJECTS_DIR)/EaseActionsTest.o \ $(OBJECTS_DIR)/EffectsTest.o \ $(OBJECTS_DIR)/IntervalTest.o \ $(OBJECTS_DIR)/LayerTest.o \ $(OBJECTS_DIR)/MenuTest.o \ $(OBJECTS_DIR)/MotionStreakTest.o \ $(OBJECTS_DIR)/ParallaxTest.o \ $(OBJECTS_DIR)/ParticleTest.o \ $(OBJECTS_DIR)/ProgressActionsTest.o \ $(OBJECTS_DIR)/RotateWorldTest.o \ $(OBJECTS_DIR)/SceneTest.o \ $(OBJECTS_DIR)/SchedulerTest.o \ $(OBJECTS_DIR)/SpriteTest.o \ $(OBJECTS_DIR)/TileMapTest.o \ $(OBJECTS_DIR)/Ball.o \ $(OBJECTS_DIR)/Paddle.o \ $(OBJECTS_DIR)/TouchesTest.o \ $(OBJECTS_DIR)/TransitionsTest.o ADD_OBJECTS += $(OBJECTS_DIR) : $(MKDIR) $(OBJECTS_DIR) $(DESTDIR) : $(MKDIR) $(DESTDIR) all : $(OBJECTS_DIR) $(DESTDIR) $(TARGET) $(TARGET) : $(OBJECTS) $(LINK) $(LINK_FLAGS) -o $(TARGET) $(SYS_OBJECTS) $(OBJECTS) $(ADD_OBJECTS) $(LIBS) $(SYS_LIBS) clean : -$(DEL_FILE) $(OBJECTS) -$(DEL_FILE) $(TARGET) $(OBJECTS_DIR)/test_uphoneApp.o : ./test_uphoneApp.cpp $(CXX) -c $(CXX_FLAGS) $(INCLUDE_PATH) $(LAST_INCLUDE_PATH) -o $(OBJECTS_DIR)/test_uphoneApp.o ./test_uphoneApp.cpp $(OBJECTS_DIR)/test_uphoneEntry.o : ./test_uphoneEntry.cpp $(CXX) -c $(CXX_FLAGS) $(INCLUDE_PATH) $(LAST_INCLUDE_PATH) -o $(OBJECTS_DIR)/test_uphoneEntry.o ./test_uphoneEntry.cpp $(OBJECTS_DIR)/test_uphoneMainForm.o : ./test_uphoneMainForm.cpp $(CXX) -c $(CXX_FLAGS) $(INCLUDE_PATH) $(LAST_INCLUDE_PATH) -o $(OBJECTS_DIR)/test_uphoneMainForm.o ./test_uphoneMainForm.cpp $(OBJECTS_DIR)/TG3AppDllEntry.o : ./TG3AppDllEntry.cpp $(CXX) -c $(CXX_FLAGS) $(INCLUDE_PATH) $(LAST_INCLUDE_PATH) -o $(OBJECTS_DIR)/TG3AppDllEntry.o ./TG3AppDllEntry.cpp $(OBJECTS_DIR)/controller.o : ./tests/controller.cpp $(CXX) -c $(CXX_FLAGS) $(INCLUDE_PATH) $(LAST_INCLUDE_PATH) -o $(OBJECTS_DIR)/controller.o ./tests/controller.cpp $(OBJECTS_DIR)/testBasic.o : ./tests/testBasic.cpp $(CXX) -c $(CXX_FLAGS) $(INCLUDE_PATH) $(LAST_INCLUDE_PATH) -o $(OBJECTS_DIR)/testBasic.o ./tests/testBasic.cpp $(OBJECTS_DIR)/ActionManagerTest.o : ./tests/ActionManagerTest/ActionManagerTest.cpp $(CXX) -c $(CXX_FLAGS) $(INCLUDE_PATH) $(LAST_INCLUDE_PATH) -o $(OBJECTS_DIR)/ActionManagerTest.o ./tests/ActionManagerTest/ActionManagerTest.cpp $(OBJECTS_DIR)/ActionsTest.o : ./tests/ActionsTest/ActionsTest.cpp $(CXX) -c $(CXX_FLAGS) $(INCLUDE_PATH) $(LAST_INCLUDE_PATH) -o $(OBJECTS_DIR)/ActionsTest.o ./tests/ActionsTest/ActionsTest.cpp $(OBJECTS_DIR)/AtlasTest.o : ./tests/AtlasTest/AtlasTest.cpp $(CXX) -c $(CXX_FLAGS) $(INCLUDE_PATH) $(LAST_INCLUDE_PATH) -o $(OBJECTS_DIR)/AtlasTest.o ./tests/AtlasTest/AtlasTest.cpp $(OBJECTS_DIR)/Bounce.o : ./tests/ChipmunkTest/Bounce.cpp $(CXX) -c $(CXX_FLAGS) $(INCLUDE_PATH) $(LAST_INCLUDE_PATH) -o $(OBJECTS_DIR)/Bounce.o ./tests/ChipmunkTest/Bounce.cpp $(OBJECTS_DIR)/cocos2dChipmunkDemo.o : ./tests/ChipmunkTest/cocos2dChipmunkDemo.cpp $(CXX) -c $(CXX_FLAGS) $(INCLUDE_PATH) $(LAST_INCLUDE_PATH) -o $(OBJECTS_DIR)/cocos2dChipmunkDemo.o ./tests/ChipmunkTest/cocos2dChipmunkDemo.cpp $(OBJECTS_DIR)/drawSpace.o : ./tests/ChipmunkTest/drawSpace.cpp $(CXX) -c $(CXX_FLAGS) $(INCLUDE_PATH) $(LAST_INCLUDE_PATH) -o $(OBJECTS_DIR)/drawSpace.o ./tests/ChipmunkTest/drawSpace.cpp $(OBJECTS_DIR)/Joints.o : ./tests/ChipmunkTest/Joints.cpp $(CXX) -c $(CXX_FLAGS) $(INCLUDE_PATH) $(LAST_INCLUDE_PATH) -o $(OBJECTS_DIR)/Joints.o ./tests/ChipmunkTest/Joints.cpp $(OBJECTS_DIR)/LogoSmash.o : ./tests/ChipmunkTest/LogoSmash.cpp $(CXX) -c $(CXX_FLAGS) $(INCLUDE_PATH) $(LAST_INCLUDE_PATH) -o $(OBJECTS_DIR)/LogoSmash.o ./tests/ChipmunkTest/LogoSmash.cpp $(OBJECTS_DIR)/MagnetsElectric.o : ./tests/ChipmunkTest/MagnetsElectric.cpp $(CXX) -c $(CXX_FLAGS) $(INCLUDE_PATH) $(LAST_INCLUDE_PATH) -o $(OBJECTS_DIR)/MagnetsElectric.o ./tests/ChipmunkTest/MagnetsElectric.cpp $(OBJECTS_DIR)/OneWay.o : ./tests/ChipmunkTest/OneWay.cpp $(CXX) -c $(CXX_FLAGS) $(INCLUDE_PATH) $(LAST_INCLUDE_PATH) -o $(OBJECTS_DIR)/OneWay.o ./tests/ChipmunkTest/OneWay.cpp $(OBJECTS_DIR)/Planet.o : ./tests/ChipmunkTest/Planet.cpp $(CXX) -c $(CXX_FLAGS) $(INCLUDE_PATH) $(LAST_INCLUDE_PATH) -o $(OBJECTS_DIR)/Planet.o ./tests/ChipmunkTest/Planet.cpp $(OBJECTS_DIR)/Player.o : ./tests/ChipmunkTest/Player.cpp $(CXX) -c $(CXX_FLAGS) $(INCLUDE_PATH) $(LAST_INCLUDE_PATH) -o $(OBJECTS_DIR)/Player.o ./tests/ChipmunkTest/Player.cpp $(OBJECTS_DIR)/Plink.o : ./tests/ChipmunkTest/Plink.cpp $(CXX) -c $(CXX_FLAGS) $(INCLUDE_PATH) $(LAST_INCLUDE_PATH) -o $(OBJECTS_DIR)/Plink.o ./tests/ChipmunkTest/Plink.cpp $(OBJECTS_DIR)/Pump.o : ./tests/ChipmunkTest/Pump.cpp $(CXX) -c $(CXX_FLAGS) $(INCLUDE_PATH) $(LAST_INCLUDE_PATH) -o $(OBJECTS_DIR)/Pump.o ./tests/ChipmunkTest/Pump.cpp $(OBJECTS_DIR)/PyramidStack.o : ./tests/ChipmunkTest/PyramidStack.cpp $(CXX) -c $(CXX_FLAGS) $(INCLUDE_PATH) $(LAST_INCLUDE_PATH) -o $(OBJECTS_DIR)/PyramidStack.o ./tests/ChipmunkTest/PyramidStack.cpp $(OBJECTS_DIR)/PyramidTopple.o : ./tests/ChipmunkTest/PyramidTopple.cpp $(CXX) -c $(CXX_FLAGS) $(INCLUDE_PATH) $(LAST_INCLUDE_PATH) -o $(OBJECTS_DIR)/PyramidTopple.o ./tests/ChipmunkTest/PyramidTopple.cpp $(OBJECTS_DIR)/Query.o : ./tests/ChipmunkTest/Query.cpp $(CXX) -c $(CXX_FLAGS) $(INCLUDE_PATH) $(LAST_INCLUDE_PATH) -o $(OBJECTS_DIR)/Query.o ./tests/ChipmunkTest/Query.cpp $(OBJECTS_DIR)/Sensors.o : ./tests/ChipmunkTest/Sensors.cpp $(CXX) -c $(CXX_FLAGS) $(INCLUDE_PATH) $(LAST_INCLUDE_PATH) -o $(OBJECTS_DIR)/Sensors.o ./tests/ChipmunkTest/Sensors.cpp $(OBJECTS_DIR)/Simple.o : ./tests/ChipmunkTest/Simple.cpp $(CXX) -c $(CXX_FLAGS) $(INCLUDE_PATH) $(LAST_INCLUDE_PATH) -o $(OBJECTS_DIR)/Simple.o ./tests/ChipmunkTest/Simple.cpp $(OBJECTS_DIR)/Springies.o : ./tests/ChipmunkTest/Springies.cpp $(CXX) -c $(CXX_FLAGS) $(INCLUDE_PATH) $(LAST_INCLUDE_PATH) -o $(OBJECTS_DIR)/Springies.o ./tests/ChipmunkTest/Springies.cpp $(OBJECTS_DIR)/TheoJansen.o : ./tests/ChipmunkTest/TheoJansen.cpp $(CXX) -c $(CXX_FLAGS) $(INCLUDE_PATH) $(LAST_INCLUDE_PATH) -o $(OBJECTS_DIR)/TheoJansen.o ./tests/ChipmunkTest/TheoJansen.cpp $(OBJECTS_DIR)/Tumble.o : ./tests/ChipmunkTest/Tumble.cpp $(CXX) -c $(CXX_FLAGS) $(INCLUDE_PATH) $(LAST_INCLUDE_PATH) -o $(OBJECTS_DIR)/Tumble.o ./tests/ChipmunkTest/Tumble.cpp $(OBJECTS_DIR)/UnsafeOps.o : ./tests/ChipmunkTest/UnsafeOps.cpp $(CXX) -c $(CXX_FLAGS) $(INCLUDE_PATH) $(LAST_INCLUDE_PATH) -o $(OBJECTS_DIR)/UnsafeOps.o ./tests/ChipmunkTest/UnsafeOps.cpp $(OBJECTS_DIR)/ClickAndMoveTest.o : ./tests/ClickAndMoveTest/ClickAndMoveTest.cpp $(CXX) -c $(CXX_FLAGS) $(INCLUDE_PATH) $(LAST_INCLUDE_PATH) -o $(OBJECTS_DIR)/ClickAndMoveTest.o ./tests/ClickAndMoveTest/ClickAndMoveTest.cpp $(OBJECTS_DIR)/CocosNodeTest.o : ./tests/CocosNodeTest/CocosNodeTest.cpp $(CXX) -c $(CXX_FLAGS) $(INCLUDE_PATH) $(LAST_INCLUDE_PATH) -o $(OBJECTS_DIR)/CocosNodeTest.o ./tests/CocosNodeTest/CocosNodeTest.cpp $(OBJECTS_DIR)/DrawPrimitivesTest.o : ./tests/DrawPrimitivesTest/DrawPrimitivesTest.cpp $(CXX) -c $(CXX_FLAGS) $(INCLUDE_PATH) $(LAST_INCLUDE_PATH) -o $(OBJECTS_DIR)/DrawPrimitivesTest.o ./tests/DrawPrimitivesTest/DrawPrimitivesTest.cpp $(OBJECTS_DIR)/EaseActionsTest.o : ./tests/EaseActionsTest/EaseActionsTest.cpp $(CXX) -c $(CXX_FLAGS) $(INCLUDE_PATH) $(LAST_INCLUDE_PATH) -o $(OBJECTS_DIR)/EaseActionsTest.o ./tests/EaseActionsTest/EaseActionsTest.cpp $(OBJECTS_DIR)/EffectsTest.o : ./tests/EffectsTest/EffectsTest.cpp $(CXX) -c $(CXX_FLAGS) $(INCLUDE_PATH) $(LAST_INCLUDE_PATH) -o $(OBJECTS_DIR)/EffectsTest.o ./tests/EffectsTest/EffectsTest.cpp $(OBJECTS_DIR)/IntervalTest.o : ./tests/IntervalTest/IntervalTest.cpp $(CXX) -c $(CXX_FLAGS) $(INCLUDE_PATH) $(LAST_INCLUDE_PATH) -o $(OBJECTS_DIR)/IntervalTest.o ./tests/IntervalTest/IntervalTest.cpp $(OBJECTS_DIR)/LayerTest.o : ./tests/LayerTest/LayerTest.cpp $(CXX) -c $(CXX_FLAGS) $(INCLUDE_PATH) $(LAST_INCLUDE_PATH) -o $(OBJECTS_DIR)/LayerTest.o ./tests/LayerTest/LayerTest.cpp $(OBJECTS_DIR)/MenuTest.o : ./tests/MenuTest/MenuTest.cpp $(CXX) -c $(CXX_FLAGS) $(INCLUDE_PATH) $(LAST_INCLUDE_PATH) -o $(OBJECTS_DIR)/MenuTest.o ./tests/MenuTest/MenuTest.cpp $(OBJECTS_DIR)/MotionStreakTest.o : ./tests/MotionStreakTest/MotionStreakTest.cpp $(CXX) -c $(CXX_FLAGS) $(INCLUDE_PATH) $(LAST_INCLUDE_PATH) -o $(OBJECTS_DIR)/MotionStreakTest.o ./tests/MotionStreakTest/MotionStreakTest.cpp $(OBJECTS_DIR)/ParallaxTest.o : ./tests/ParallaxTest/ParallaxTest.cpp $(CXX) -c $(CXX_FLAGS) $(INCLUDE_PATH) $(LAST_INCLUDE_PATH) -o $(OBJECTS_DIR)/ParallaxTest.o ./tests/ParallaxTest/ParallaxTest.cpp $(OBJECTS_DIR)/ParticleTest.o : ./tests/ParticleTest/ParticleTest.cpp $(CXX) -c $(CXX_FLAGS) $(INCLUDE_PATH) $(LAST_INCLUDE_PATH) -o $(OBJECTS_DIR)/ParticleTest.o ./tests/ParticleTest/ParticleTest.cpp $(OBJECTS_DIR)/ProgressActionsTest.o : ./tests/ProgressActionsTest/ProgressActionsTest.cpp $(CXX) -c $(CXX_FLAGS) $(INCLUDE_PATH) $(LAST_INCLUDE_PATH) -o $(OBJECTS_DIR)/ProgressActionsTest.o ./tests/ProgressActionsTest/ProgressActionsTest.cpp $(OBJECTS_DIR)/RotateWorldTest.o : ./tests/RotateWorldTest/RotateWorldTest.cpp $(CXX) -c $(CXX_FLAGS) $(INCLUDE_PATH) $(LAST_INCLUDE_PATH) -o $(OBJECTS_DIR)/RotateWorldTest.o ./tests/RotateWorldTest/RotateWorldTest.cpp $(OBJECTS_DIR)/SceneTest.o : ./tests/SceneTest/SceneTest.cpp $(CXX) -c $(CXX_FLAGS) $(INCLUDE_PATH) $(LAST_INCLUDE_PATH) -o $(OBJECTS_DIR)/SceneTest.o ./tests/SceneTest/SceneTest.cpp $(OBJECTS_DIR)/SchedulerTest.o : ./tests/SchedulerTest/SchedulerTest.cpp $(CXX) -c $(CXX_FLAGS) $(INCLUDE_PATH) $(LAST_INCLUDE_PATH) -o $(OBJECTS_DIR)/SchedulerTest.o ./tests/SchedulerTest/SchedulerTest.cpp $(OBJECTS_DIR)/SpriteTest.o : ./tests/SpriteTest/SpriteTest.cpp $(CXX) -c $(CXX_FLAGS) $(INCLUDE_PATH) $(LAST_INCLUDE_PATH) -o $(OBJECTS_DIR)/SpriteTest.o ./tests/SpriteTest/SpriteTest.cpp $(OBJECTS_DIR)/TileMapTest.o : ./tests/TileMapTest/TileMapTest.cpp $(CXX) -c $(CXX_FLAGS) $(INCLUDE_PATH) $(LAST_INCLUDE_PATH) -o $(OBJECTS_DIR)/TileMapTest.o ./tests/TileMapTest/TileMapTest.cpp $(OBJECTS_DIR)/Ball.o : ./tests/TouchesTest/Ball.cpp $(CXX) -c $(CXX_FLAGS) $(INCLUDE_PATH) $(LAST_INCLUDE_PATH) -o $(OBJECTS_DIR)/Ball.o ./tests/TouchesTest/Ball.cpp $(OBJECTS_DIR)/Paddle.o : ./tests/TouchesTest/Paddle.cpp $(CXX) -c $(CXX_FLAGS) $(INCLUDE_PATH) $(LAST_INCLUDE_PATH) -o $(OBJECTS_DIR)/Paddle.o ./tests/TouchesTest/Paddle.cpp $(OBJECTS_DIR)/TouchesTest.o : ./tests/TouchesTest/TouchesTest.cpp $(CXX) -c $(CXX_FLAGS) $(INCLUDE_PATH) $(LAST_INCLUDE_PATH) -o $(OBJECTS_DIR)/TouchesTest.o ./tests/TouchesTest/TouchesTest.cpp $(OBJECTS_DIR)/TransitionsTest.o : ./tests/TransitionsTest/TransitionsTest.cpp $(CXX) -c $(CXX_FLAGS) $(INCLUDE_PATH) $(LAST_INCLUDE_PATH) -o $(OBJECTS_DIR)/TransitionsTest.o ./tests/TransitionsTest/TransitionsTest.cpp