build.dep.mk —
bsdbuild - dependency
generation
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.
- depend
- Generate a .depend file by invoking the compiler
with the -M flag.
- clean-depend
- Clean up the .depend file.
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).
build.dep.mk first appeared in BSDBuild
1.0.
BSDBuild is based on the 4.4BSD build system.