Implicit Rules Go to the first , previous , next , last section, table of contents . Using Implicit Rules Certain standard ways of remaking target files are used very often. For example, one customary way to make an object file is from a C source file using the C compiler, cc . Implicit rules tell make how to use customary techniques so that you do not have to specify them in detail when you want to use them. For example, there is an implicit rule for C compilation.
File names determine which implicit rules are run.
So make applies the implicit rule for C compilation when it sees this combination of file name endings. See section Chains of Implicit Rules . The built-in implicit rules use several variables in their commands so that, by changing the values of the variables, you can change the way the implicit rule works. See section Variables Used by Implicit Rules . You can define your own implicit rules by writing pattern rules .