summaryrefslogtreecommitdiff
path: root/BSDmakefile
blob: b2f36fa28720f182692f6670bb24fbcc7ebf7a0d (plain)
1
2
3
4
5
6
7
8
9
10
11
# pmake might add -J (private)
FLAGS=${.MAKEFLAGS:C/\-J ([0-9]+,?)+//W}

all: .DEFAULT
.DEFAULT:
	@which 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