2010-10-18 10:44:02 +08:00
|
|
|
|
|
|
|
############################################################################
|
|
|
|
#
|
|
|
|
# Makefile for building : Cocos2dSimpleGame_Arm.TMK3
|
|
|
|
# Created by TMK3_V2.3, please do not modify.
|
|
|
|
#
|
|
|
|
#############################################################################
|
|
|
|
|
|
|
|
TO_PROJECT_ROOT = ../../PRJ_TG3
|
|
|
|
OUTPUT_FILENAME = libCocos2dSimpleGame.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 \
|
2010-11-05 14:12:02 +08:00
|
|
|
-I. \
|
|
|
|
-I./logic \
|
2010-10-18 10:44:02 +08:00
|
|
|
-I../cocos2dx \
|
|
|
|
-I../cocos2dx/include \
|
2010-10-18 16:54:19 +08:00
|
|
|
-I../cocosDenshion/include
|
|
|
|
LIBS += -lcocos2d -lCocosDenshion -lTG3_EGL -lTG3_GLESv1_CM -lTG3_GLESv2
|
2010-10-18 10:44:02 +08:00
|
|
|
|
|
|
|
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)/Cocos2dSimpleGameAppDelegate.o \
|
|
|
|
$(OBJECTS_DIR)/main.o \
|
2010-10-18 16:54:19 +08:00
|
|
|
$(OBJECTS_DIR)/NewDeleteOp.o \
|
2010-11-05 14:12:02 +08:00
|
|
|
$(OBJECTS_DIR)/TG3AppDllEntry.o \
|
|
|
|
$(OBJECTS_DIR)/GameOverScene.o \
|
|
|
|
$(OBJECTS_DIR)/HelloWorldScene.o
|
2010-10-18 10:44:02 +08:00
|
|
|
|
|
|
|
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)/Cocos2dSimpleGameAppDelegate.o : ./Cocos2dSimpleGameAppDelegate.cpp
|
|
|
|
$(CXX) -c $(CXX_FLAGS) $(INCLUDE_PATH) $(LAST_INCLUDE_PATH) -o $(OBJECTS_DIR)/Cocos2dSimpleGameAppDelegate.o ./Cocos2dSimpleGameAppDelegate.cpp
|
|
|
|
|
|
|
|
$(OBJECTS_DIR)/main.o : ./main.cpp
|
|
|
|
$(CXX) -c $(CXX_FLAGS) $(INCLUDE_PATH) $(LAST_INCLUDE_PATH) -o $(OBJECTS_DIR)/main.o ./main.cpp
|
|
|
|
|
|
|
|
$(OBJECTS_DIR)/NewDeleteOp.o : ./Framework/NewDeleteOp.cpp
|
|
|
|
$(CXX) -c $(CXX_FLAGS) $(INCLUDE_PATH) $(LAST_INCLUDE_PATH) -o $(OBJECTS_DIR)/NewDeleteOp.o ./Framework/NewDeleteOp.cpp
|
|
|
|
|
|
|
|
$(OBJECTS_DIR)/TG3AppDllEntry.o : ./Framework/TG3AppDllEntry.cpp
|
|
|
|
$(CXX) -c $(CXX_FLAGS) $(INCLUDE_PATH) $(LAST_INCLUDE_PATH) -o $(OBJECTS_DIR)/TG3AppDllEntry.o ./Framework/TG3AppDllEntry.cpp
|
2010-10-18 16:54:19 +08:00
|
|
|
|
2010-11-05 14:12:02 +08:00
|
|
|
$(OBJECTS_DIR)/GameOverScene.o : ./logic/GameOverScene.cpp
|
|
|
|
$(CXX) -c $(CXX_FLAGS) $(INCLUDE_PATH) $(LAST_INCLUDE_PATH) -o $(OBJECTS_DIR)/GameOverScene.o ./logic/GameOverScene.cpp
|
|
|
|
|
|
|
|
$(OBJECTS_DIR)/HelloWorldScene.o : ./logic/HelloWorldScene.cpp
|
|
|
|
$(CXX) -c $(CXX_FLAGS) $(INCLUDE_PATH) $(LAST_INCLUDE_PATH) -o $(OBJECTS_DIR)/HelloWorldScene.o ./logic/HelloWorldScene.cpp
|
|
|
|
|