help-make
[Top][All Lists]
Advanced

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

Re: Targets which dont check for includes...


From: Paul D. Smith
Subject: Re: Targets which dont check for includes...
Date: Wed, 28 May 2003 17:39:41 -0400

%% Jim Kogler <address@hidden> writes:

  jk> Is there a way to check what target was specified? something like...

  jk> if target != scour
  jk> -include $$(1)_depfiles
  jk> endif

Look at the MAKECMDGOALS variable (see the GNU make manual).

-- 
-------------------------------------------------------------------------------
 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]