gnu-make.rst
changeset 1299 ec63524d2b90
parent 899 7b4265c8d324
child 1301 55aeffa6c8a5
equal deleted inserted replaced
1298:1e7db170c823 1299:ec63524d2b90
       
     1 .. -*- coding: utf-8; -*-
       
     2 
       
     3 ===========
       
     4  GNU Make.
       
     5 ===========
       
     6 .. contents::
       
     7 
       
     8 Recursive Make Considered Harmful.
       
     9 ==================================
       
    10 
       
    11   http://miller.emu.id.au/pmiller/books/rmch/
       
    12                 "Recursive Make Considered Harmful" home page.
       
    13 
       
    14 How view list of default make definitions.
       
    15 ==========================================
       
    16 
       
    17   $ make -p -f /dev/null
       
    18 
       
    19 GNU Make Standard Library.
       
    20 ==========================
       
    21 
       
    22   http://gmsl.sourceforge.net
       
    23                 home page
       
    24 
       
    25 GNU Make configuration.
       
    26 =======================
       
    27 
       
    28 Put on top of your Makefile:
       
    29 
       
    30   # Disable built in pattern rules.
       
    31   MAKEFLAGS += -r
       
    32   # Disable built in variables.
       
    33   MAKEFLAGS += -R
       
    34   # Disable built in suffix rules.
       
    35   .SUFFIXES:
       
    36   # Default target.
       
    37   .DEFAULT_GOAL = all
       
    38