Make Build Tool

  1. Getting Started with Makefiles
    1. The Basic Makefile Structure
      1. File Naming Conventions
        1. Makefile
          1. makefile
            1. GNUmakefile
            2. Layout and Indentation Rules
              1. Tab Requirements
                1. Whitespace Handling
                2. Case Sensitivity
                  1. Character Encoding
                  2. Writing a Simple Rule
                    1. Basic Rule Syntax
                      1. Target Declaration
                        1. Colon Separator
                          1. Prerequisites List
                          2. Defining a Target
                            1. Syntax and Formatting
                              1. File vs. Phony Targets
                                1. Target Naming Conventions
                                2. Listing Prerequisites
                                  1. Single Prerequisites
                                    1. Multiple Prerequisites
                                      1. Order of Prerequisites
                                        1. Handling Missing Prerequisites
                                        2. Specifying a Recipe
                                          1. Command Line Requirements
                                            1. Tab Indentation
                                              1. Multiple Command Lines
                                                1. Shell Command Execution
                                              2. Running Make
                                                1. Default Goal Execution
                                                  1. First Target Rule
                                                    1. How Make Selects the Default Target
                                                      1. Running make Without Arguments
                                                      2. Specifying a Target on the Command Line
                                                        1. Single Target Selection
                                                          1. Multiple Target Selection
                                                            1. Target Name Completion
                                                            2. Command Line Syntax
                                                              1. Basic Invocation
                                                                1. Option Placement
                                                              2. Essential Special Targets
                                                                1. The all Target Convention
                                                                  1. Purpose and Usage
                                                                    1. Aggregating Multiple Targets
                                                                      1. Best Practices
                                                                      2. The .PHONY Target
                                                                        1. Purpose of Phony Targets
                                                                          1. Avoiding Filename Conflicts
                                                                            1. Ensuring Recipe Execution
                                                                              1. Performance Considerations
                                                                              2. Common Phony Targets
                                                                                1. all
                                                                                  1. clean
                                                                                    1. install
                                                                                      1. test
                                                                                        1. distclean
                                                                                      2. The clean Target
                                                                                        1. Purpose and Implementation
                                                                                          1. Safe Cleaning Practices
                                                                                            1. Recursive Cleaning
                                                                                          2. Comments in Makefiles
                                                                                            1. Comment Syntax
                                                                                              1. Inline Comments
                                                                                                1. Block Comments
                                                                                                  1. Documentation Best Practices
                                                                                                    1. Header Comments