[Top][All Lists]

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

Re: target specific inclusion of makefiles

From: Paul D. Smith
Subject: Re: target specific inclusion of makefiles
Date: 23 Aug 2005 08:32:39 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4

%% "Jörg" <> writes:

  j> How can I include makefiles depending on a target (not a macro)?

You can't do it depending on a target per se.

But, there is a variable that contains the targets requested on the
command line.  Check the MAKECMDGOALS variable in the GNU make manual.


 Paul D. Smith <>          Find some GNU make tips at:            
 "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]