Conventions for Recursive Makefiles and Directories
Parent topic
:
Conventions for Recursive Makefiles and Directories
Advanced topics
In this section, we'll discuss how to:
collapse unnecessary directory levels
perform partial builds
perform parallel builds
use GNU
configure
Collapsing unnecessary directory levels
You can
collapse
unnecessary components out of the directory tree.
Performing partial builds
By using the
LIST
tag in the makefile, you can cause the
make
command to perform a partial build, even if you're at the top of the source tree.
Performing parallel builds
To get
make
to run more than one command in parallel, use the
JLEVEL
macro.
More uses for LIST
Besides using the standard
LIST
values that we use, you can also define your own.
GNU configure
The
addvariant
utility knows how to work with code that uses a GNU
./configure
script for configuration.
Related reference
addvariant
make