IT lexicon › Programming › bmake

bmake

Programming På svenska → Updated: 2026-11-08

The BSD world's make, with its own syntax for conditionals and loops, in a portable edition that runs just about anywhere.

The lineage goes back to PMake, written by Adam de Boor at Berkeley in the late 1980s, which became make in 4.4BSD. NetBSD's version is the one still evolving, and Simon Gerraty packages it as bmake for other systems. FreeBSD switched to bmake as its default in version 10 in 2014, and pkgsrc uses it on every platform it supports.

The difference from GNU make is the dialect. BSD make has .if, .for and .include <bsd.prog.mk>, and variables can be filtered with modifiers like ${SRCS:M*.c}. A Makefile written for one rarely works in the other, which is why BSD systems install GNU make as gmake and ports frequently depend on both.

← Back to the lexicon