help-make
[Top][All Lists]
Advanced

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

changing MAKEFLAGS to affect current makefile


From: Boris Kolpackov
Subject: changing MAKEFLAGS to affect current makefile
Date: Tue, 30 Mar 2004 17:41:36 -0600
User-agent: Mutt/1.5.4i

Good day,

I read the following in "Communicating Options to sub-make":

"You can also set `MAKEFLAGS' in a makefile, to specify additional 
flags that should also be in effect for that makefile."

and also

"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."

Which means that I should be able to say something like


MAKEFLAGS += -r

and all built-in implicit rules are gone. But that sounds too 
good to be true - this line has no effect on current make.
 
Any clue?


thanks,
-boris


Attachment: signature.asc
Description: Digital signature


reply via email to

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