Makefile structure

Updated: April 19, 2023

As mentioned earlier, the makefile structure is almost identical, regardless of the level that the makefile is found in. All makefiles (except the bottommost level) include the recurse.mk file and may set one or more macros.

Here's an example of one of our standard (nonbottommost) Makefiles:

LATE_DIRS=boards
include recurse.mk