BUILD.DEP.MK(5) BSD File Formats Manual BUILD.DEP.MK(5)NAME
build.dep.mk — bsdbuild - dependency generation
SYNOPSIS
.include <bsd.dep.mk>
DESCRIPTION
The build.dep.mk module is used by build.prog.mk(5) and build.lib.mk(5),
but is never included directly into makefiles. Its role is to generate
.depend files, which are used in the build process to determine if object
files need to be rebuilt.
TARGETS
depend Generate a .depend file by invoking the compiler with the -M
flag.
clean-depend
Clean up the .depend file.
VARIABLES
MKDEP Path to mkdep(1) utility. Defaults to ‘${TOP}/mk/mkdep’, which
is bundled with BSDBuild.
CC Compiler command to invoke (must support the -M option).
SEE ALSObuild.common.mk(5), build.lib.mk(5), build.prog.mk(5)HISTORY
build.dep.mk first appeared in BSDBuild 1.0.
BSDBuild is based on the 4.4BSD build system.
BSD July 18, 2007 BSD