This chapter offers some examples of makefiles that solve specific problems. It does not explain how to write a makefile, nor does it try to replace the `gnatmake' utility (Building with gnatmake).
All the examples in this section are specific to the GNU version of make. Although `make' is a standard utility, and the basic language is the same, these examples use some advanced features found only in GNU make.
|• Using gnatmake in a Makefile:|
|• Automatically Creating a List of Directories:|
|• Generating the Command Line Switches:|
|• Overcoming Command Line Length Limits:|