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.
6 # GNU Make based build file. For details on GNU Make see:
7 # http://www.gnu.org/software/make/manual/make.html
12 # Define the default target
20 # Macro defines a phony target for each example, and adds it to a list of
24 TARGET_LIST+=$(1)_TARGET
27 +$(MAKE) BUILDTYPE=glibc-$(CONFIG) -C $(1)
28 +$(MAKE) BUILDTYPE=newlib-$(CONFIG) -C $(1)
29 +$(MAKE) BUILDTYPE=host-$(CONFIG) -C $(1)
31 CLEAN_LIST+=$(1)_CLEAN
34 +$(MAKE) -C $(1) clean
38 # Define the various targets via the Macro
39 $(foreach proj,$(PROJECTS),$(eval $(call TARGET,$(proj))))
44 echo "Done building targets."
47 echo "Done cleaning targets."
50 echo "Staring up python webserver."