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

Side by Side Diff: nacltoons/Makefile

Issue 12209048: Update nacltoon Makefile (Closed) Base URL: http://nativeclient-sdk.googlecode.com/svn/trunk/src/
Patch Set: Created 7 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 # 5 #
6 # GNU Make based build file. For details on GNU Make see: 6 # GNU Make based build file. For details on GNU Make see:
7 # http://www.gnu.org/software/make/manual/make.html 7 # http://www.gnu.org/software/make/manual/make.html
8 # 8 #
9 # 9 #
10 10
11 CHROME_PATH?=google-chrome 11 CHROME_PATH?=google-chrome
12 NACL_ARCH?=x86_64 12 NACL_ARCH?=x86_64
13 DEBUG?=1 13 DEBUG?=1
14 ifeq ($(DEBUG),1) 14 ifeq ($(DEBUG),1)
15 CONFIG=Debug 15 CONFIG=Debug
16 else 16 else
17 CONFIG=Release 17 CONFIG=Release
18 endif 18 endif
19 19
20 NACLPORTS_STAMP=out/naclports.stamp 20 NACLPORTS_STAMP=out/naclports.stamp
21 COCOS2DX_STAMP=out/cocos2dx.stamp 21 COCOS2DX_STAMP=out/cocos2dx.stamp
22 22
23 all: $(NACLPORTS_STAMP) $(COCOS2DX_STAMP) 23 all: $(NACLPORTS_STAMP) cocos2dx
24 @echo '@@@BUILD_STEP build game@@@' 24 @echo '@@@BUILD_STEP build game@@@'
25 $(MAKE) -f game.mk NACL_ARCH=$(NACL_ARCH) DEBUG=$(DEBUG) 25 $(MAKE) -f game.mk NACL_ARCH=$(NACL_ARCH) DEBUG=$(DEBUG)
26 26
27 naclports $(NACLPORTS_STAMP): build/build-naclports.sh 27 naclports $(NACLPORTS_STAMP): build/build-naclports.sh
28 build/build-naclports.sh 28 build/build-naclports.sh
29 touch $(NACLPORTS_STAMP) 29 touch $(NACLPORTS_STAMP)
30 30
31 cocos2dx $(COCOS2DX_STAMP): $(NACLPORTS_STAMP) build/build-cocos2dx.sh 31 cocos2dx : $(NACLPORTS_STAMP) build/build-cocos2dx.sh
32 build/build-cocos2dx.sh 32 build/build-cocos2dx.sh
33 touch $(COCOS2DX_STAMP)
34 33
35 clean: 34 clean:
36 $(MAKE) -f game.mk clean 35 $(MAKE) -f game.mk clean
37 $(RM) $(NACLPORTS_STAMP) $(COCOS2DX_STAMP) 36 $(RM) $(NACLPORTS_STAMP) $(COCOS2DX_STAMP)
38 37
39 publish: all 38 publish: all
39 rm -fr out/publish
40 mkdir -p out/publish 40 mkdir -p out/publish
41 cp out/newlib/$(CONFIG)/*.nexe out/publish 41 cp out/newlib/$(CONFIG)/*.nexe out/publish
42 cp out/newlib/$(CONFIG)/*.nmf out/publish 42 cp out/newlib/$(CONFIG)/*.nmf out/publish
43 cp -r data/* out/publish 43 cp -r data/* out/publish
44 44
45 run: publish 45 run: publish
46 $(MAKE) -f game.mk RUN 46 $(MAKE) -f game.mk RUN
47 47
48 run-app: publish 48 run-app: publish
49 $(CHROME_PATH) --no-first-run --user-data-dir=out/user-data-dir --load-e xtension=out/publish chrome://newtab 49 $(CHROME_PATH) --no-first-run --user-data-dir=out/user-data-dir --load-e xtension=out/publish chrome://newtab
50 50
51 .PHONY: all naclports cocos2dx clean publish run run-app 51 .PHONY: all naclports cocos2dx clean publish run run-app
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698