diff options
author | Igor Pashev <igor.pashev@nexenta.com> | 2012-10-03 11:56:48 +0400 |
---|---|---|
committer | Igor Pashev <igor.pashev@nexenta.com> | 2012-10-03 11:56:48 +0400 |
commit | 493f0002af887f372ea1798baa8f4cdc4e340cf5 (patch) | |
tree | e21d248d9a89235f5eb631facb7cc012312c07d6 | |
parent | 5c3ab096b102872ceba3548499cc6e7f1b1de162 (diff) | |
download | cibs-493f0002af887f372ea1798baa8f4cdc4e340cf5.tar.gz |
Added common target interdependencies
-rw-r--r-- | README.md | 1 | ||||
-rw-r--r-- | rules/common.mk | 6 |
2 files changed, 7 insertions, 0 deletions
@@ -46,6 +46,7 @@ Meaning of these targets depends on other included modules: * `install` - install files into proto directory. * `clean` - remove all stamps and working directory (`./work` by default) +Each target in the list above depends on previous target. Yes, except `clean`. `clean` has [double-colon rule](http://www.gnu.org/software/make/manual/html_node/Double_002dColon.html) and by default it is: diff --git a/rules/common.mk b/rules/common.mk index eb003ee..bea0aeb 100644 --- a/rules/common.mk +++ b/rules/common.mk @@ -85,6 +85,12 @@ destdir = $(destdir.$(bits)) check-build-dep-stamp unpack-stamp patch-stamp pre-configure-stamp configure-stamp build-stamp install-stamp: touch $@ +install-stamp : build-stamp +build-stamp : configure-stamp +configure-stamp : patch-stamp +patch-stamp : unpack-stamp +unpack-stamp : check-build-dep-stamp + # Common target to use from command line # or in component top-level Makefile: unpack : unpack-stamp |