gnatmake
Gnatmake is a build driver in the GNAT Ada compiler toolchain that automates the compilation and linking of Ada programs. It takes Ada source files (and, in some configurations, project information) as input and orchestrates the compilation order by inspecting unit dependencies, ultimately producing an executable. Gnatmake is designed to simplify the typical Ada build process by handling the necessary calls to the underlying GNAT compilers and linkers and by reusing previously built units when possible.
Key features include automatic dependency resolution, incremental builds, and the ability to incorporate non-Ada sources through
In practice, gnatmake is commonly used for small to medium-sized Ada projects or for quick ad hoc
Typical usage involves invoking gnatmake with one or more Ada sources; it then compiles the units in