section 4.5.6 of the online gnu make manual is a little ambiguous about how to define the vpath or VPATH entries to support directory search for link libraries. from that section:
===== "When a prerequisite's name has the form `-lname', make handles it specially by searching for the file `libname.so' in the current directory, in directories specified by matching vpath search paths and the VPATH search path, and then in the directories `/lib', `/usr/lib', and `prefix/lib' (normally `/usr/local/lib', but MS-DOS/MS-Windows versions of make behave as if prefix is defined to be the root of the DJGPP installation tree). If that file is not found, then the file `libname.a' is searched for, in the same directories as above." ===== ok, so what's the standard way you would set vpath? vpath %.so dir1:dir2:dir3 ?? vpath lib.%so dir1:dir2:dir3 ?? rday _______________________________________________ Help-make mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-make
