axmol/CocosDenshion/proj.nacl/Makefile

20 lines
456 B
Makefile
Raw Normal View History

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