help-make
[Top][All Lists]
Advanced

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

Re: VPATH & implicit rule searches.


From: Paul D. Smith
Subject: Re: VPATH & implicit rule searches.
Date: Mon, 14 Mar 2005 16:04:20 -0500

%% Tristan Van Berkom <address@hidden> writes:

  tvb> vpath %.d      $(THIS_DIR)$(PATCONF)   # These expand to relative paths
  tvb> vpath %.c      $(THIS_DIR)$(PATSRCDIR) # to the config & src directories

  tvb> # dependancies from C files
  tvb> %.d::%.c
  tvb>  $(mkdep)

If the pathnames to the %.d and %.c files are different then this rule
cannot work.  The stem must be IDENTICAL or the pattern does not match.

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