blob: 31b89e9ea07d0f036fea6c2b37475cb25b2b1c6e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# file : makefile
# author : Boris Kolpackov <boris@codesynthesis.com>
# copyright : Copyright (c) 2004-2010 Code Synthesis Tools CC
# license : GNU GPL v2; see accompanying LICENSE file
include $(dir $(lastword $(MAKEFILE_LIST)))build/bootstrap.make
# Help.
#
.PHONY: help
help:
@echo
@echo "Available targets:"
@echo
@echo " help - print this message"
@echo " install [install_prefix=<prefix>] - install build system"
@echo
@echo "You can also build various examples by executing make in "
@echo "corresponding directories."
@echo
# Install.
#
.PHONY: install $(out_base)/.install
install: $(out_base)/.install
$(out_base)/.install:
$(call install-dir,$(bld_root),$(install_inc_dir)/build-$(shell \
sed -e 's%\(.*\)\.\(.*\)\.\(.*\)%\1.\2%' <$(src_base)/version))
# How to.
#
$(call include,$(bld_root)/install.make)
|