mirror of https://github.com/lukechilds/node.git
Browse Source
Minor convenience for platforms that doesn't have gmake installed but prefer the habit of writing make instead of gmake. test needs to live in .PHONY to get passed on to gmake. PR-URL: https://github.com/iojs/io.js/pull/1298 Reviewed-By: Fedor Indutny <fedor@indutny.com>v1.8.0-commit
Johan Bergström
10 years ago
1 changed files with 8 additions and 2 deletions
@ -1,2 +1,8 @@ |
|||||
all: |
all: .DEFAULT |
||||
@echo "I need GNU make. Please run \`gmake\` instead." |
.DEFAULT: |
||||
|
@which gmake > /dev/null 2>&1 ||\ |
||||
|
(echo "GMake is required for io.js to build.\ |
||||
|
Install and try again" && exit 1) |
||||
|
@gmake ${.MAKEFLAGS} ${.TARGETS} |
||||
|
|
||||
|
.PHONY: test |
||||
|
Loading…
Reference in new issue