blob: 135b9bbabb8c24e7b25a1d878fb75b5e8323080e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
# file : examples/makefile
# author : Boris Kolpackov <boris@codesynthesis.com>
# copyright : Copyright (c) 2009 Code Synthesis Tools CC
# license : MIT; see accompanying LICENSE file
include $(dir $(lastword $(MAKEFILE_LIST)))../build/bootstrap.make
examples := hello features
default := $(out_base)/
install := $(out_base)/.install
clean := $(out_base)/.clean
$(default): $(addprefix $(out_base)/,$(addsuffix /,$(examples)))
$(install): $(addprefix $(out_base)/,$(addsuffix /.install,$(examples)))
$(call install-data,$(src_base)/README,$(install_doc_dir)/cli/examples/README)
$(clean): $(addprefix $(out_base)/,$(addsuffix /.clean,$(examples)))
$(foreach e,$(examples),$(call import,$(src_base)/$e/makefile))
|