What is a Makefile and why do we use them?

  1. A Makefile is a text file that specifies a set of rules and dependencies for building and compiling a project.
  2. It contains instructions for how to build the project and defines relationships between different files.
  3. Remember to use tabs rather than spaces when writing your Makefile.
  4. Here's an additional resource for make and Makefiles: link

This is an example of what a Makefile looks like.