2013-03-02 01:09:58 +08:00
|
|
|
COCOS_ROOT = ../..
|
|
|
|
|
|
|
|
INCLUDES = -I../include
|
|
|
|
|
2013-06-22 04:01:00 +08:00
|
|
|
SOURCES = ../openal/OpenALDecoder.cpp \
|
|
|
|
../openal/SimpleAudioEngine.cpp
|
2013-03-02 01:09:58 +08:00
|
|
|
|
|
|
|
include $(COCOS_ROOT)/cocos2dx/proj.nacl/cocos2dx.mk
|
|
|
|
|
|
|
|
TARGET = $(LIB_DIR)/libcocosdenshion.a
|
|
|
|
|
2013-03-05 02:19:50 +08:00
|
|
|
all: $(TARGET)
|
2013-03-02 01:09:58 +08:00
|
|
|
|
2013-03-05 02:19:50 +08:00
|
|
|
$(TARGET): $(OBJECTS) $(CORE_MAKEFILE_LIST)
|
2013-03-02 01:09:58 +08:00
|
|
|
@mkdir -p $(@D)
|
2013-03-05 02:19:50 +08:00
|
|
|
$(LOG_AR)$(NACL_AR) $(ARFLAGS) $(TARGET) $(OBJECTS)
|
2013-03-02 01:09:58 +08:00
|
|
|
|
2013-03-05 02:19:50 +08:00
|
|
|
$(OBJ_DIR)/%.o: ../%.cpp $(CORE_MAKEFILE_LIST)
|
2013-03-02 01:09:58 +08:00
|
|
|
@mkdir -p $(@D)
|
2013-03-05 02:19:50 +08:00
|
|
|
$(LOG_CXX)$(NACL_CXX) -MMD $(CXXFLAGS) $(INCLUDES) $(DEFINES) -c $< -o $@
|