diff options
-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 |