help-gnu-utils
[Top][All Lists]
Advanced

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

Re: when gnu-make is missing a dependency


From: Paul D. Smith
Subject: Re: when gnu-make is missing a dependency
Date: 06 May 2005 20:25:04 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

%% Randy Yates <yates@ieee.org> writes:

  >> Possible reasons are (a) that file does exist, maybe on VPATH, or
  >> (b) you have a target "lpc.o" in your makefile with no rule or
  >> prerequisites (see the section "Rules without Commands or
  >> Prerequisites" in the GNU make manual).

  ry> Thanks for the timely response, Paul. If (a) were the case, then
  ry> why wouldn't I get a "Target is up-to-date" response instead of
  ry> "nothing to be done" when I "make lpc.o"?

Yes, so it's probably the second one.

"make -d" should tell you for sure though.  And you can use "make -p" to
see the rules database; search it for that target.

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


reply via email to

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