help-make
[Top][All Lists]
Advanced

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

Re: Hard time figuring out what order-only prerequisites really do.(atta


From: Paul D. Smith
Subject: Re: Hard time figuring out what order-only prerequisites really do.(attachment again)
Date: Fri, 1 Jul 2005 10:56:58 -0400

%% "Angel Tsankov" <address@hidden> writes:

  at> Prerequisite `SourceFiles/main.cpp' is older than target 
  at> `IntermediateFiles/main.o'.

  at> Prerequisite `IntermediateFiles' is newer than target 
  at> `IntermediateFiles/main.o'.           !!!!!!!!!!!!!!!!!  this should be 
  at> Prerequisite `IntermediateFiles' is order-only for target 
  at> `IntermediateFiles/main.o'., shouldn't it?

Yes.

Are you sure you don't have other rules in this makefile or somewhere
that might be taking precedence over this pattern rule?


Try running make again with the -p option to see the rules database, and
look for all instances of IntermediateFiles there.  Where do you see it?

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