Home Segments Index Top Previous Next

Chapter 46:

How To Compile a Multiple-File Program

When you build big programs, with many header and source-code files, you eventually lose track of what depends on what. Accordingly, most operating systems that support C++ provide what is called the make utility. The basic idea is that you describe dependencies in a file that a compilation program uses to figure out what needs to be recompiled and relinked.