help-make
[Top][All Lists]
Advanced

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

Re: changing MAKEFLAGS to affect current makefile


From: Boris Kolpackov
Subject: Re: changing MAKEFLAGS to affect current makefile
Date: Tue, 27 Apr 2004 10:50:46 -0500
User-agent: Mutt/1.5.4i

Paul D. Smith <address@hidden> writes:
 
>   bk> Which means that I should be able to say something like
> 
>   bk> MAKEFLAGS += -r
> 
>   bk> and all built-in implicit rules are gone. But that sounds too 
>   bk> good to be true - this line has no effect on current make.
>  
> This is indeed a bug (IMO anyway), and has been for basically as long as
> make has been around.  I thought there was even a bug in Savannah about
> this.

Actually it sort of works. For example the following two lines at the
beginning of the makefile

.SUFFIXES:
MAKEFLAGS += -r


are equivalent to running 'make -r'.

hth,
-boris

Attachment: pgpYDpxtoGkOo.pgp
Description: PGP signature


reply via email to

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