Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(59)

Side by Side Diff: samples/Lua/HelloLua/proj.nacl/Makefile

Issue 14694016: [NaCl] Add support for building using glibc toolchain. (Closed) Base URL: git@github.com:sbc100/cocos2d-x.git@nacl_changes2
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « samples/Cpp/TestCpp/proj.nacl/Makefile ('k') | samples/Lua/TestLua/proj.nacl/Makefile » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « samples/Cpp/TestCpp/proj.nacl/Makefile ('k') | samples/Lua/TestLua/proj.nacl/Makefile » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698