Make files


Vinh Nguyen


October 20, 2010

Here is a very simple make file example. This is how make processes a Makefile. The important piece I need to remember is

> The recompilation must be done if the source file, or any of the header files named as prerequisites, is more recent than the object file, or if the object file does not exist.

Also, remember to use variables to avoid errors.

I think that's all I need to remember for now.