gnu-make.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Thu, 03 Jan 2019 22:13:18 +0200
changeset 2334 c44e4331713c
parent 2075 ccaa2f364422
permissions -rw-r--r--
merged

.. -*- 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