gnu-make.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Sat, 10 Feb 2018 01:36:16 +0200
changeset 2229 1a0b6597e594
parent 2075 ccaa2f364422
permissions -rw-r--r--
Mark block quot in HTMLe.

.. -*- coding: utf-8; -*-

===========
 GNU Make.
===========
.. contents::
   :local:

GNU Make documentation
======================

http://make.paulandlesley.org/ http://mad-scientist.net/make/
  Paul D. Smith page about make.
http://make.paulandlesley.org/autodep.html
  Advanced Auto-Dependency Generation
http://miller.emu.id.au/pmiller/books/rmch/
  "Recursive Make Considered Harmful" home page.
http://evbergen.home.xs4all.nl/nonrecursive-make.html
  Implementing non-recursive make.
http://www.electric-cloud.com/resources/mrmake.php
  *Ask Mr. Make*. Series of article on tricks with GNU Make.

Debugging GNU Make
==================

How view list of default make definitions::

  $ make -p -f /dev/null

GNU Make configuration
======================

There are defaults that enrich behavior of GNU Make::

  # Disable built in pattern rules.
  MAKEFLAGS += -r
  # Disable built in variables.
  MAKEFLAGS += -R
  # Disable built in suffix rules.
  .SUFFIXES:
  # Default target.
  .DEFAULT_GOAL = all

GNU Make Standard Library
=========================

http://gmsl.sourceforge.net
  home page