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

Side by Side Diff: samples/Cpp/SimpleGame/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/HelloCpp/proj.nacl/Makefile ('k') | samples/Cpp/TestCpp/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 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
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
OLDNEW
« no previous file with comments | « samples/Cpp/HelloCpp/proj.nacl/Makefile ('k') | samples/Cpp/TestCpp/proj.nacl/Makefile » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698