| |
| | Makefile Tutorial |
 | | First of all, anyone who does not know how to write a makefile must have missed the first discussion section (in the second week of class), because there was a handout on makefiles and tar. |
 | | When checking the dependencies, the makefiles checks if any of the dependent files are targets, and if so, it looks at those dependencies, and, based on the timestamp, it may run commands to update the dependent files, and then update the target. |
 | | It will look for a makefile with the name in the current directory and run the commands of the first target, assuming that it has to based on the dependencies. |
| www.cs.umd.edu /class/spring2003/cmsc214/Tutorials/makefile.html (2976 words) |
|