diff options
author | Loïc Hoguin <[email protected]> | 2015-05-15 10:20:12 +0300 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2015-05-15 10:20:12 +0300 |
commit | a294038c83a631813af3708be3b986ef6a6e3468 (patch) | |
tree | 5622f1415f8cec55af6f840c95b95efed039f705 /core/core.mk | |
parent | 1c630fb7765815d7229d68c8edf5ffd37bcd2785 (diff) | |
download | erlang.mk-a294038c83a631813af3708be3b986ef6a6e3468.tar.gz erlang.mk-a294038c83a631813af3708be3b986ef6a6e3468.tar.bz2 erlang.mk-a294038c83a631813af3708be3b986ef6a6e3468.zip |
Replace make with $(MAKE) for BSD compatibility
Diffstat (limited to 'core/core.mk')
-rw-r--r-- | core/core.mk | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/core/core.mk b/core/core.mk index a2afe0d..497c431 100644 --- a/core/core.mk +++ b/core/core.mk @@ -89,7 +89,7 @@ help:: "erlang.mk (version $(ERLANG_MK_VERSION)) is distributed under the terms of the ISC License." \ "Copyright (c) 2013-2014 Loïc Hoguin <[email protected]>" \ "" \ - "Usage: [V=1] make [-jNUM] [target]" \ + "Usage: [V=1] $(MAKE) [-jNUM] [target]" \ "" \ "Core targets:" \ " all Run deps, app and rel targets in that order" \ @@ -107,8 +107,8 @@ help:: "The target clean only removes files that are commonly removed." \ "Dependencies and releases are left untouched." \ "" \ - "Setting V=1 when calling make enables verbose mode." \ - "Parallel execution is supported through the -j Make flag." + "Setting V=1 when calling $(MAKE) enables verbose mode." \ + "Parallel execution is supported through the -j $(MAKE) flag." # Core functions. @@ -154,6 +154,6 @@ ERLANG_MK_BUILD_DIR ?= .erlang.mk.build erlang-mk: git clone https://github.com/ninenines/erlang.mk $(ERLANG_MK_BUILD_DIR) if [ -f $(ERLANG_MK_BUILD_CONFIG) ]; then cp $(ERLANG_MK_BUILD_CONFIG) $(ERLANG_MK_BUILD_DIR); fi - cd $(ERLANG_MK_BUILD_DIR) && make + cd $(ERLANG_MK_BUILD_DIR) && $(MAKE) cp $(ERLANG_MK_BUILD_DIR)/erlang.mk ./erlang.mk rm -rf $(ERLANG_MK_BUILD_DIR) |