mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
2d167f0dc7
PR-URL: https://github.com/nodejs/node/pull/36118 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
12 lines
268 B
Makefile
12 lines
268 B
Makefile
# pmake might add -J (private)
|
|
FLAGS=${.MAKEFLAGS:C/\-J ([0-9]+,?)+//W}
|
|
|
|
all: .DEFAULT
|
|
.DEFAULT:
|
|
@command -v gmake > /dev/null 2>&1 ||\
|
|
(echo "GMake is required for node.js to build.\
|
|
Install and try again" && exit 1)
|
|
@gmake ${.FLAGS} ${.TARGETS}
|
|
|
|
.PHONY: test
|