%% "Robert P. J. Day" <[EMAIL PROTECTED]> writes:

  rpjd> "When a prerequisite's name has the form `-lname', make handles it
  rpjd> specially by searching for the file `libname.so' in the current
  rpjd> directory, in directories specified by matching vpath search paths and
  rpjd> the VPATH search path, and then in the directories `/lib', `/usr/lib',
  rpjd> and `prefix/lib' (normally `/usr/local/lib', but MS-DOS/MS-Windows
  rpjd> versions of make behave as if prefix is defined to be the root of the
  rpjd> DJGPP installation tree).

  rpjd> If that file is not found, then the file `libname.a' is searched for,
  rpjd> in the same directories as above."

  rpjd>   ok, so what's the standard way you would set vpath?

  rpjd>   vpath %.so dir1:dir2:dir3             ??
  rpjd>   vpath lib.%so dir1:dir2:dir3          ??

Well, if you really meant "lib%.so" in the second case, then either
one.  That's assuming that you actually have shared libraries: obviously
this won't find any static libraries.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <[EMAIL PROTECTED]>          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


_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to