[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How make interprets MAKEFLAGS?(1)

From: ali hagigat
Subject: How make interprets MAKEFLAGS?(1)
Date: Mon, 7 Feb 2011 08:15:59 +0330

Please consider the following lines of the document:
5.7.3 Communicating Options to a Sub-make
When make interprets the value of MAKEFLAGS (either from the
environment or from a
makefile), it first prepends a hyphen if the value does not already
begin with one. Then
it chops the value into words separated by blanks, and parses these
words as if they were
options given on the command line (except that ‘-C’, ‘-f’, ‘-h’, ‘-o’,
‘-W’, and their long-
named versions are ignored; and there is no error for an invalid option).
I wonder if anybody can give an example how hyphen is added and the
value is chopped.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]