OLD | NEW |
1 COCOS_ROOT = ../../../.. | 1 COCOS_ROOT = ../../../.. |
2 COCOS2DX_PATH = $(COCOS_ROOT)/cocos2dx | 2 COCOS2DX_PATH = $(COCOS_ROOT)/cocos2dx |
3 | 3 |
4 INCLUDES = -I.. \ | 4 INCLUDES = -I.. \ |
5 -I../Classes \ | 5 -I../Classes \ |
6 -I$(COCOS_ROOT)/CocosDenshion/include \ | 6 -I$(COCOS_ROOT)/CocosDenshion/include \ |
7 | 7 |
8 SOURCES = main.cpp \ | 8 SOURCES = main.cpp \ |
9 ../Classes/AppDelegate.cpp \ | 9 ../Classes/AppDelegate.cpp \ |
10 ../Classes/HelloWorldScene.cpp \ | 10 ../Classes/HelloWorldScene.cpp \ |
(...skipping 15 matching lines...) Expand all Loading... |
26 | 26 |
27 $(OBJ_DIR)/%.o: ../%.cpp | 27 $(OBJ_DIR)/%.o: ../%.cpp |
28 @mkdir -p $(@D) | 28 @mkdir -p $(@D) |
29 $(LOG_CXX)$(NACL_CXX) -MMD $(CXXFLAGS) $(INCLUDES) $(DEFINES) -c $< -o $
@ | 29 $(LOG_CXX)$(NACL_CXX) -MMD $(CXXFLAGS) $(INCLUDES) $(DEFINES) -c $< -o $
@ |
30 | 30 |
31 $(OBJ_DIR)/%.o: %.cpp | 31 $(OBJ_DIR)/%.o: %.cpp |
32 @mkdir -p $(@D) | 32 @mkdir -p $(@D) |
33 $(LOG_CXX)$(NACL_CXX) -MMD $(CXXFLAGS) $(INCLUDES) $(DEFINES) -c $< -o $
@ | 33 $(LOG_CXX)$(NACL_CXX) -MMD $(CXXFLAGS) $(INCLUDES) $(DEFINES) -c $< -o $
@ |
34 | 34 |
35 $(NMF): $(TARGET) | 35 $(NMF): $(TARGET) |
36 » $(NACL_SDK_ROOT)/tools/create_nmf.py -o $@ $(BIN_DIR)/*.nexe --objdump=i
686-nacl-objdump -L$(NACL_SDK_ROOT)/toolchain/linux_x86_newlib/x86_64-nacl/lib/
-s $(BIN_DIR) | 36 » $(NACL_SDK_ROOT)/tools/create_nmf.py -o $@ $(BIN_DIR)/*.nexe $(NMF_FLAGS
) -s $(BIN_DIR) |
37 | 37 |
38 run: all | 38 run: all |
39 /bin/cp -ar ../Resources/ . | 39 /bin/cp -ar ../Resources/ . |
40 $(NACL_SDK_ROOT)/tools/httpd.py --no_dir_check | 40 $(NACL_SDK_ROOT)/tools/httpd.py --no_dir_check |
41 | 41 |
42 .PHONY: run | 42 .PHONY: run |
OLD | NEW |