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

Side by Side Diff: native_client_sdk/src/examples/hello_world_stdio/Makefile

Issue 11592003: Add support for simple run of "main" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Replace missing stdio Created 8 years 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 | native_client_sdk/src/examples/hello_world_stdio/hello_world.c » ('j') | 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
(...skipping 24 matching lines...) Expand all
35 35
36 # 36 #
37 # List of libraries to link against. Unlike some tools, the GCC and LLVM 37 # List of libraries to link against. Unlike some tools, the GCC and LLVM
38 # based tools require libraries to be specified in the correct order. The 38 # based tools require libraries to be specified in the correct order. The
39 # order should be symbol reference followed by symbol definition, with direct 39 # order should be symbol reference followed by symbol definition, with direct
40 # sources to the link (object files) are left most. In this case: 40 # sources to the link (object files) are left most. In this case:
41 # hello_world -> ppapi_main -> ppapi_cpp -> ppapi -> pthread -> libc 41 # hello_world -> ppapi_main -> ppapi_cpp -> ppapi -> pthread -> libc
42 # Notice that pthread and libc are implied and come last through standard 42 # Notice that pthread and libc are implied and come last through standard
43 # compiler/link switches, for example -pthread. 43 # compiler/link switches, for example -pthread.
44 # 44 #
45 LIBS=ppapi_main ppapi_cpp ppapi 45 LIBS=ppapi_main nacl_mounts ppapi_cpp ppapi
46 46
47 47
48 # 48 #
49 # Use the compile macro for each source. 49 # Use the compile macro for each source.
50 # 50 #
51 $(foreach src,$(SOURCES),$(eval $(call COMPILE_RULE,$(src)))) 51 $(foreach src,$(SOURCES),$(eval $(call COMPILE_RULE,$(src))))
52 52
53 # 53 #
54 # Use the link macro for this target on the list of sources. 54 # Use the link macro for this target on the list of sources.
55 # 55 #
56 $(eval $(call LINK_RULE,$(TARGET),$(SOURCES),$(LIBS))) 56 $(eval $(call LINK_RULE,$(TARGET),$(SOURCES),$(LIBS)))
57 57
58 # 58 #
59 # Specify the NMF to be created with no additional arugments. 59 # Specify the NMF to be created with no additional arugments.
60 # 60 #
61 $(eval $(call NMF_RULE,$(TARGET),)) 61 $(eval $(call NMF_RULE,$(TARGET),))
OLDNEW
« no previous file with comments | « no previous file | native_client_sdk/src/examples/hello_world_stdio/hello_world.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698