help-make
[Top][All Lists]
Advanced

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

RE: Trying to get rid of one redundand rule


From: Paul D. Smith
Subject: RE: Trying to get rid of one redundand rule
Date: Tue, 14 Jun 2005 13:34:31 -0400

%% John Graham-Cumming <address@hidden> writes:

  >> find them and an implicit rule for .cpp->.o triggers instead?

  jg> Because the built in %.o : %.cpp rule takes precedence.

It definitely shouldn't.  Patterns are tested in the order they are
defined, and any pattern defined in a makefile is tested before any
builtin pattern.


I wonder if this isn't because the directory doesn't exist: have you
tried running this when the $(BLDDIR)/stamp file is up to date?  Or only
when it needs to be created?

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