Home Segments Index Top Previous Next

715: Mainline

When you compile a multiple-file program using the make utility, the file describing dependencies is called a makefile.

Over the years, the make utility has come to offer more and more features, with a corresponding increase in syntactic complexity. Consequently, expert programmers often write makefiles that are extremely difficult for beginners to read. Nevertheless, simple makefiles are easy to write and read, even for C++ beginners, and you should learn to use them early on.