%% Trevor Jenkins <[EMAIL PROTECTED]> writes:

  tj> In version 3.78.1, MAKECMDGOALS works for me. Here's a little test make
  tj> file:

  tj> $(MAKECMDGOALS):
  tj>   echo $(MAKECMDGOALS)

  >> I hope to get answer "tt" if I run it.

  tj> $ make tt
  tj> echo tt
  tj> tt

No, that's not it.  Sure it works if you give the makefile name as a
command line goal target because that's what MAKECMDGOALS expands to,
but he wants to just run "make", or "make install", or whatever, and
find the makefile name.

You can't do that before 3.80.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <[EMAIL PROTECTED]>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.paulandlesley.org
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist


_______________________________________________
Help-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/help-make

Reply via email to