[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" <joergmoellernexpress@hotmail.com> 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.
HTH!
--
-------------------------------------------------------------------------------
Paul D. Smith <psmith@gnu.org> 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