2010-11-11 11:18:58 +08:00
|
|
|
|
|
|
|
############################################################################
|
|
|
|
#
|
|
|
|
# Makefile for building : SimpleAudioEngine_Arm_uphone.TMK3
|
|
|
|
# Created by TMK3_V2.3, please do not modify.
|
|
|
|
#
|
|
|
|
#############################################################################
|
|
|
|
|
|
|
|
TO_PROJECT_ROOT = ../../PRJ_TG3
|
|
|
|
OUTPUT_FILENAME = libCocosDenshion.so
|
|
|
|
|
|
|
|
include $(TO_PROJECT_ROOT)/MakeInclude/Makefile_Base_DynamicLib.ARM
|
|
|
|
include $(TO_PROJECT_ROOT)/MakeInclude/Makefile_TOPS_Def.ARM
|
|
|
|
|
|
|
|
DEFINES += -DCCX_UNDER_UPHONE \
|
2010-12-11 11:08:03 +08:00
|
|
|
-D__TG3_PURE_DLL__ \
|
|
|
|
-DUSE_FILE32API
|
2010-11-18 21:47:14 +08:00
|
|
|
INCLUDE_PATH += -I../ \
|
|
|
|
-I../include
|
2010-11-11 11:18:58 +08:00
|
|
|
CXX_FLAGS += -fvisibility=default
|
2010-12-11 11:08:03 +08:00
|
|
|
LIBS += -lTSoundPlayer -lz
|
2010-11-11 11:18:58 +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 = \
|
2010-12-11 11:08:03 +08:00
|
|
|
$(OBJECTS_DIR)/FileUtils.o \
|
2010-11-11 11:18:58 +08:00
|
|
|
$(OBJECTS_DIR)/ResourceHandle.o \
|
|
|
|
$(OBJECTS_DIR)/SimpleAudioEngine.o \
|
|
|
|
$(OBJECTS_DIR)/SoundDataManager.o \
|
2010-12-11 11:08:03 +08:00
|
|
|
$(OBJECTS_DIR)/SoundPlayer.o \
|
|
|
|
$(OBJECTS_DIR)/ioapi.o \
|
|
|
|
$(OBJECTS_DIR)/unzip.o
|
2010-11-11 11:18:58 +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)
|
|
|
|
|
2010-12-11 11:08:03 +08:00
|
|
|
$(OBJECTS_DIR)/FileUtils.o : ../uphone/FileUtils.cpp
|
|
|
|
$(CXX) -c $(CXX_FLAGS) $(INCLUDE_PATH) $(LAST_INCLUDE_PATH) -o $(OBJECTS_DIR)/FileUtils.o ../uphone/FileUtils.cpp
|
|
|
|
|
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-11 11:18:58 +08:00
|
|
|
|
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-11 11:18:58 +08:00
|
|
|
|
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-11 11:18:58 +08:00
|
|
|
|
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
|
2010-11-11 11:18:58 +08:00
|
|
|
|
2010-12-11 11:08:03 +08:00
|
|
|
$(OBJECTS_DIR)/ioapi.o : ../uphone/zip_support/ioapi.c
|
|
|
|
$(CC) -c $(CC_FLAGS) $(INCLUDE_PATH) $(LAST_INCLUDE_PATH) -o $(OBJECTS_DIR)/ioapi.o ../uphone/zip_support/ioapi.c
|
|
|
|
|
|
|
|
$(OBJECTS_DIR)/unzip.o : ../uphone/zip_support/unzip.c
|
|
|
|
$(CC) -c $(CC_FLAGS) $(INCLUDE_PATH) $(LAST_INCLUDE_PATH) -o $(OBJECTS_DIR)/unzip.o ../uphone/zip_support/unzip.c
|
|
|
|
|