REFERENCE: https://l4re.org/doc/l4re_build_system.html L4 must be built out-of-tree make B=<builddir> # create build (object) dir make O=<builddir> # invoke make with specified object dir to include the builddir into the makefile (or local config) OBJ_BASE = <builddir> BID Makefile: if I understand correctly every level of subdir should have one Makefile. Specify the role: {project, subdir, prog, lib, include, doc, test, ldl, runux}.mk EXAMPLE BID Makefile PKGDIR ?= <> jargons BID: refers to L4RE build system (but why?) --- vim:textwidth=72 vim:ft=text