gnu-make.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Mon, 22 Feb 2016 12:46:36 +0200
changeset 1905 fba288d59662
parent 1334 9bf0d5a1f0cf
child 1912 8b81a8f0f692
permissions -rw-r--r--
Include only local subsections into TOC. This prevent duplication of TOC when build single page HTML document. Also this make unnecessary CSS hack to hide document title as top level section.

.. -*- coding: utf-8; -*-
.. include:: HEADER.rst

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

Make docs.
==========

  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

How view list of default make definitions.
==========================================

  $ make -p -f /dev/null

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

  http://gmsl.sourceforge.net
                home page

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

Put on top of your Makefile:

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