[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gmake doesn't honor #! line
From: |
Gabriel Zachmann |
Subject: |
Re: gmake doesn't honor #! line |
Date: |
4 Nov 2000 16:55:57 GMT |
User-agent: |
slrn/0.9.5.4 (UNIX) |
On 1 Nov 2000 19:05:49 GMT, Hans-Bernhard Broeker <address@hidden> wrote:
> 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
make and pmake under SGI do that.
So that, when you write #!gmake -x -y
in the first line of your Makefile, and then execute 'make',
make will actually start gmake.
Or, when you write #!pmake -J
in the first line of your Makefile, and then execute 'pmake',
pmake will add -J to its "command line otions".
Why am I asking?
Because, at least under cygwin, it makes a difference
whether I write #!gmake -R
in the first line of the Makefile,
or whether I write 'MAKEFLAGS += R' in the Makefile.
With the latter, gmake seems to consider much more "built-in things"
then with the former.
Besides, why gmake *not* honor the #! ?
It wouldn't hurt, but it would certainly add flexibility.
Gab.
--
/---------------------------------------------------------------------\
| Paradigm is a word too often used by those |
| who would like to have a new idea |
| but cannot think of one. |
| (Mervyn King, Deputy Governor, Bank of England) |
| |
| address@hidden address@hidden address@hidden |
| www.igd.fhg.de/~zach/ www.gab.cx __@/' |
\---------------------------------------------------------------------/