running-make-to-build
Installation
SKILL.md
Overview
The build is a recursive make structure, with several projects vendored in to
lib that use their own Makefiles and also one primary src/Makefile.am that
defines most of the build.
- ALWAYS run
make -j $(nproc)to get full parallelism - ALWAYS run from the top level directory
- ALWAYS run with
2>&1 | tail -Nto limit output - ALWAYS run
git add <somefile> && ./make-mksafter adding<somefile>to ensure it is included in the build. - NEVER run from a subdirectory
- NEVER run with
make -C <somedir>for any other directory - NEVER run
cargomanually, letmakerun it - NEVER edit
MakefileorMakefile.in, only ever editMakefile.am
Targets
The main targets are: