mirror of
https://github.com/zebrajr/node.git
synced 2025-12-06 12:20:27 +01:00
build: Pass BSDmakefile args to gmake
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>
This commit is contained in:
parent
4dc6ae2181
commit
5094a0fde3
10
BSDmakefile
10
BSDmakefile
|
|
@ -1,2 +1,8 @@
|
|||
all:
|
||||
@echo "I need GNU make. Please run \`gmake\` instead."
|
||||
all: .DEFAULT
|
||||
.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
Block a user