mirror of https://github.com/axmolengine/axmol.git
165 lines
7.8 KiB
Makefile
165 lines
7.8 KiB
Makefile
|
|
############################################################################
|
|
#
|
|
# 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
|
|
LIBS += -lcocos2d -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)/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)/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)/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)/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
|
|
|