My notes on Makefile
'make' utility is a powerful tool that allows you to manage compilation of multiple modules into an executable. A makefile contains a set of dependencies and rules.A dependency has a target (a file to be created) and set of source files upon which it is dependent.The rules defines how to create a target from the dependent files. It reads a specification file called : makefile or Makefile, that describes how the modules of a software system depend on each other. If you want to use a non standard name, you can pass '-f' option to specify that name. Make utility uses the time when various modules modified, to only recompile those modules. structure of Makefile: target: dependency1 dependency2 dependency3 command Target: Name of the executable to be build dependency1, dependency2, dependency3: Name of the files on which target depends (.c and .h files) command: shell command to create the target from dependencies Simple Makefil...