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

Side by Side Diff: native_client_sdk/src/examples/Makefile_gyp

Issue 23919004: [NaCl SDK] Create a resources/ directory and move files to it. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: move httpd.cmd too Created 7 years, 3 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 | « native_client_sdk/src/examples/Makefile ('k') | native_client_sdk/src/examples/common.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 # found in the LICENSE file.
4
5 #
6 # GNU Make based build file.  For details on GNU Make see:
7 #   http://www.gnu.org/software/make/manual/make.html
8 #
9
10 __PROJECT_LIST__
11
12 # Define the default target
13 all:
14
15 CONFIG=debug
16
17 #
18 # Target Macro
19 #
20 # Macro defines a phony target for each example, and adds it to a list of
21 # targets.
22 #
23 define TARGET
24 TARGET_LIST+=$(1)_TARGET
25 .PHONY: $(1)_TARGET
26 $(1)_TARGET:
27 +$(MAKE) BUILDTYPE=glibc-$(CONFIG) -C $(1)
28 +$(MAKE) BUILDTYPE=newlib-$(CONFIG) -C $(1)
29 +$(MAKE) BUILDTYPE=host-$(CONFIG) -C $(1)
30
31 CLEAN_LIST+=$(1)_CLEAN
32 .PHONY: $(1)_CLEAN
33 $(1)_CLEAN:
34 +$(MAKE) -C $(1) clean
35 endef
36
37
38 # Define the various targets via the Macro
39 $(foreach proj,$(PROJECTS),$(eval $(call TARGET,$(proj))))
40
41 __DEPENDENCIES__
42
43 all: $(TARGET_LIST)
44 echo "Done building targets."
45
46 clean: $(CLEAN_LIST)
47 echo "Done cleaning targets."
48
49 RUN: all
50 echo "Staring up python webserver."
51 python httpd.py
52
OLDNEW
« no previous file with comments | « native_client_sdk/src/examples/Makefile ('k') | native_client_sdk/src/examples/common.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698