make: Makefile Names

1 
1 3.2 What Name to Give Your Makefile
1 ===================================
1 
1 By default, when 'make' looks for the makefile, it tries the following
1 names, in order: 'GNUmakefile', 'makefile' and 'Makefile'.
1 
1    Normally you should call your makefile either 'makefile' or
1 'Makefile'.  (We recommend 'Makefile' because it appears prominently
1 near the beginning of a directory listing, right near other important
1 files such as 'README'.)  The first name checked, 'GNUmakefile', is not
1 recommended for most makefiles.  You should use this name if you have a
1 makefile that is specific to GNU 'make', and will not be understood by
1 other versions of 'make'.  Other 'make' programs look for 'makefile' and
1 'Makefile', but not 'GNUmakefile'.
1 
1    If 'make' finds none of these names, it does not use any makefile.
1 Then you must specify a goal with a command argument, and 'make' will
1 attempt to figure out how to remake it using only its built-in implicit
1 rules.  ⇒Using Implicit Rules Implicit Rules.
1 
1    If you want to use a nonstandard name for your makefile, you can
1 specify the makefile name with the '-f' or '--file' option.  The
1 arguments '-f NAME' or '--file=NAME' tell 'make' to read the file NAME
1 as the makefile.  If you use more than one '-f' or '--file' option, you
1 can specify several makefiles.  All the makefiles are effectively
1 concatenated in the order specified.  The default makefile names
1 'GNUmakefile', 'makefile' and 'Makefile' are not checked automatically
1 if you specify '-f' or '--file'.
1