help-make
[Top][All Lists]
Advanced

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

Re: Passin targets during recursive calls to make


From: Paul D. Smith
Subject: Re: Passin targets during recursive calls to make
Date: Tue, 30 Dec 2003 15:17:10 -0500

%% Sébastien Hinderer <address@hidden> writes:

  >> Use MAKECMDGOALS.
  sh> Thanks.

  >> HTH,

  sh> Yes, thanks. However, is it possible to have in the Makefile one
  sh> target that will match nearly all possible goals specified on the
  sh> command line ?

Look up .DEFAULT in the manual.  Note this will use that rule for
_EVERY_ target, even nonsense ones that don't really exist.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <address@hidden>          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




reply via email to

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