11cb0ef41Sopenharmony_ci# pmake might add -J (private)
21cb0ef41Sopenharmony_ciFLAGS=${.MAKEFLAGS:C/\-J ([0-9]+,?)+//W}
31cb0ef41Sopenharmony_ci
41cb0ef41Sopenharmony_ciall: .DEFAULT
51cb0ef41Sopenharmony_ci.DEFAULT:
61cb0ef41Sopenharmony_ci	@command -v gmake > /dev/null 2>&1 ||\
71cb0ef41Sopenharmony_ci		(echo "GMake is required for node.js to build.\
81cb0ef41Sopenharmony_ci			Install and try again" && exit 1)
91cb0ef41Sopenharmony_ci	@gmake ${.FLAGS} ${.TARGETS}
101cb0ef41Sopenharmony_ci
111cb0ef41Sopenharmony_ci.PHONY: test
12