mirror of
https://github.com/hectorm/hblock.git
synced 2026-04-18 04:56:31 +05:30
16 lines
324 B
Makefile
Executable file
16 lines
324 B
Makefile
Executable file
#!/usr/bin/make -f
|
|
|
|
SHELL := /bin/sh
|
|
|
|
# PMake might add -J (private).
|
|
FLAGS := ${.MAKEFLAGS:C/\-J ([0-9]+,?)+//W}
|
|
|
|
all: .DEFAULT
|
|
|
|
.DEFAULT:
|
|
@command -v gmake >/dev/null 2>&1 || \
|
|
{ printf '%s\n' \
|
|
"GMake is required to build hBlock." \
|
|
"Install it and try again." >&2 \
|
|
&& exit 1; }
|
|
@gmake ${.FLAGS} ${.TARGETS}
|