bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: gmake doesn't honor #! line


From: Hans-Bernhard Broeker
Subject: Re: gmake doesn't honor #! line
Date: 1 Nov 2000 19:05:49 GMT

Gabriel Zachmann <address@hidden> wrote:

> It seems to me that gmake (3.79.1) doesn't honor the #! line
> like other make's do, does it?

In what way would other make's (which of them?) "honor" a hashbang
(#!)? I don't think I've ever seen anything like that with respect to
Makefiles. The only thing that routinely has to honor hashbang would
be the kernel itself, which uses it as a magic cookie to distinguish
how to execute a script flagged 'chmod +x'. I.e. if you write a
Makefile with first line '#! /usr/bin/make -f' and make it executable,
the kernel and shell will execute it as expected if you ./Makefile.

Not that that'd make much sense, though :-)


-- 
Hans-Bernhard Broeker (address@hidden)
Even if all the snow were burnt, ashes would remain.



reply via email to

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