axmol/CocosDenshion/proj.uphone/Makefile.ARM

64 lines
2.0 KiB
Makefile
Raw Normal View History

############################################################################
#
2010-10-21 14:44:02 +08:00
# Makefile for building : SimpleAudioEngine_Arm_uphone.TMK3
# Created by TMK3_V2.3, please do not modify.
#
#############################################################################
TO_PROJECT_ROOT = ../../PRJ_TG3
2010-10-18 10:34:09 +08:00
OUTPUT_FILENAME = libCocosDenshion.a
2010-10-18 10:34:09 +08:00
include $(TO_PROJECT_ROOT)/MakeInclude/Makefile_Base_StaticLib.ARM
include $(TO_PROJECT_ROOT)/MakeInclude/Makefile_TOPS_Def.ARM
2010-10-16 16:50:48 +08:00
DEFINES += -DCCX_UNDER_UPHONE \
-D__TG3_PURE_DLL__
2010-11-18 21:47:14 +08:00
INCLUDE_PATH += -I../ \
-I../include
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)/ResourceHandle.o \
2010-10-21 14:44:02 +08:00
$(OBJECTS_DIR)/SimpleAudioEngine.o \
$(OBJECTS_DIR)/SoundDataManager.o \
$(OBJECTS_DIR)/SoundPlayer.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)
2010-11-18 21:47:14 +08:00
$(OBJECTS_DIR)/ResourceHandle.o : ../uphone/ResourceHandle.cpp
$(CXX) -c $(CXX_FLAGS) $(INCLUDE_PATH) $(LAST_INCLUDE_PATH) -o $(OBJECTS_DIR)/ResourceHandle.o ../uphone/ResourceHandle.cpp
2010-11-18 21:47:14 +08:00
$(OBJECTS_DIR)/SimpleAudioEngine.o : ../uphone/SimpleAudioEngine.cpp
$(CXX) -c $(CXX_FLAGS) $(INCLUDE_PATH) $(LAST_INCLUDE_PATH) -o $(OBJECTS_DIR)/SimpleAudioEngine.o ../uphone/SimpleAudioEngine.cpp
2010-11-18 21:47:14 +08:00
$(OBJECTS_DIR)/SoundDataManager.o : ../uphone/SoundDataManager.cpp
$(CXX) -c $(CXX_FLAGS) $(INCLUDE_PATH) $(LAST_INCLUDE_PATH) -o $(OBJECTS_DIR)/SoundDataManager.o ../uphone/SoundDataManager.cpp
2010-11-18 21:47:14 +08:00
$(OBJECTS_DIR)/SoundPlayer.o : ../uphone/SoundPlayer.cpp
$(CXX) -c $(CXX_FLAGS) $(INCLUDE_PATH) $(LAST_INCLUDE_PATH) -o $(OBJECTS_DIR)/SoundPlayer.o ../uphone/SoundPlayer.cpp