2015-04-03 06:04:14 +03:00
|
|
|
# pmake might add -J (private)
|
|
|
|
FLAGS=${.MAKEFLAGS:C/\-J ([0-9]+,?)+//W}
|
|
|
|
|
2015-03-31 03:17:25 +03:00
|
|
|
all: .DEFAULT
|
|
|
|
.DEFAULT:
|
|
|
|
@which gmake > /dev/null 2>&1 ||\
|
2015-08-13 19:14:34 +03:00
|
|
|
(echo "GMake is required for node.js to build.\
|
2015-03-31 03:17:25 +03:00
|
|
|
Install and try again" && exit 1)
|
2015-04-03 06:04:14 +03:00
|
|
|
@gmake ${.FLAGS} ${.TARGETS}
|
2015-03-31 03:17:25 +03:00
|
|
|
|
|
|
|
.PHONY: test
|