help-make
[Top][All Lists]
Advanced

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

commenting a *make* directive that is a *shell* command


From: Robert P. J. Day
Subject: commenting a *make* directive that is a *shell* command
Date: Mon, 13 Feb 2006 08:50:14 -0500 (EST)

  ok, i've played with this for the last several minutes and i'm
getting confused but i'm sure it's something simple.  what is the
processing here?

...
all:
        # $(warning whatever)

  that command above has a leading tab so, according to the docs, it
should be treated as a shell command.  but it's clearly the make
warning built-in and, even with that "#", it's processed by make as a
warning.  why?

  if i remove that leading tab, then, of course, it's commented out
and does what i would have expected.  so what's happening above?

rday




reply via email to

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