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 -I$(COCOS_ROOT)/scripting/lua/lua \ | 7 -I$(COCOS_ROOT)/scripting/lua/lua \ |
8 -I$(COCOS_ROOT)/scripting/lua/tolua \ | 8 -I$(COCOS_ROOT)/scripting/lua/tolua \ |
9 -I$(COCOS_ROOT)/scripting/lua/cocos2dx_support \ | 9 -I$(COCOS_ROOT)/scripting/lua/cocos2dx_support \ |
10 -I$(NACL_SDK_ROOT)/include \ | 10 -I$(NACL_SDK_ROOT)/include \ |
(...skipping 29 matching lines...) Expand all Loading... |
40 | 40 |
41 $(OBJ_DIR)/%.o: $(COCOS_ROOT)/%.cpp | 41 $(OBJ_DIR)/%.o: $(COCOS_ROOT)/%.cpp |
42 @mkdir -p $(@D) | 42 @mkdir -p $(@D) |
43 $(LOG_CXX)$(NACL_CXX) -MMD $(CXXFLAGS) $(INCLUDES) $(DEFINES) -c $< -o $
@ | 43 $(LOG_CXX)$(NACL_CXX) -MMD $(CXXFLAGS) $(INCLUDES) $(DEFINES) -c $< -o $
@ |
44 | 44 |
45 $(OBJ_DIR)/%.o: $(COCOS_ROOT)/%.c | 45 $(OBJ_DIR)/%.o: $(COCOS_ROOT)/%.c |
46 @mkdir -p $(@D) | 46 @mkdir -p $(@D) |
47 $(LOG_CC)$(NACL_CC) -MMD $(CCFLAGS) $(INCLUDES) $(DEFINES) -c $< -o $@ | 47 $(LOG_CC)$(NACL_CC) -MMD $(CCFLAGS) $(INCLUDES) $(DEFINES) -c $< -o $@ |
48 | 48 |
49 $(NMF): $(TARGET) | 49 $(NMF): $(TARGET) |
50 » $(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) | 50 » $(NACL_SDK_ROOT)/tools/create_nmf.py -o $@ $(BIN_DIR)/*.nexe $(NMF_FLAGS
) -s $(BIN_DIR) |
51 | 51 |
52 run: all | 52 run: all |
53 /bin/cp -ar ../Resources/ . | 53 /bin/cp -ar ../Resources/ . |
54 $(NACL_SDK_ROOT)/tools/httpd.py --no_dir_check | 54 $(NACL_SDK_ROOT)/tools/httpd.py --no_dir_check |
OLD | NEW |