diff options
author | Thomas Letan <lthms@soap.coffee> | 2020-02-22 15:24:50 +0100 |
---|---|---|
committer | Thomas Letan <lthms@soap.coffee> | 2020-02-22 15:24:50 +0100 |
commit | 54a467c7e7b61c1556c29f75760d27831f4969a7 (patch) | |
tree | ba0fb8037e12a04e5b22be373855b245f9aedbde | |
parent | Provide a generic and reliable way to extends cleopatra (diff) |
Make ~make~ to call itself with the `build` rule when none is given
-rw-r--r-- | Makefile | 3 | ||||
-rw-r--r-- | site/posts/meta/Bootstrap.org | 3 |
2 files changed, 4 insertions, 2 deletions
@@ -4,7 +4,8 @@ EMACS := ROOT="${ROOT}" emacs GENFILES := scripts/tangle-org.el bootstrap.mk -default: build +default: + @make build include bootstrap.mk diff --git a/site/posts/meta/Bootstrap.org b/site/posts/meta/Bootstrap.org index 379ad0b..9196c6c 100644 --- a/site/posts/meta/Bootstrap.org +++ b/site/posts/meta/Bootstrap.org @@ -122,7 +122,8 @@ For *(2)*, we introduce a ~default~ rule with ~build~ as a dependency. #+BEGIN_SRC makefile :tangle Makefile :noweb tangle -default: build +default: + @make build #+END_SRC For *(1)*, we rely on a particular behavior of ~make~ regarding the ~include~ |