The Benefits of Using Make

Make is a command line utility for rebuilding project files. In this case, it will be applied to the WCA project, but you should find it relatively simple to port it to your own project.

Make provides the following benefits:

  • It minimizes rebuilds by not recompiling or relinking more than is necessary; it does this by examining the file timestamps and deciding what has changed since the last build.

  • It breaks the compile and link process down into discrete steps so that problems can be isolated.

  • It becomes easier to change the compile and link process when the source code structure of the project changes, such as when a new *.c file needs to be included in the project.

  • It examines and checks dependencies among the various ...

Get MySQL Building User Interfaces now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.