blob: fee71fd72b9b12ac6d8b270b6f12bf71825e23da (
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
|
# file : makefile
# copyright : Copyright (c) 2004-2012 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)
|