Hi.

In a make file I specifies the VPATH where my library is, then for a 
prerequisite for I target I specify the library with -l

Ex.

VPATH =/my/library/path

target : target.o -lmylib


What happened was it found the library (libmylib.a) generated the full path 
to it (ie /my/library/path/libmylib.a) and included that.

What I hoped would happen is that it would maintain the -l so that the 
library would be searched, instead of included. How can I do this?

Thanks in advance.


-- 
Barry D. Benowitz - FAQ maintainer for alt.lefthanders
Email:[EMAIL PROTECTED] 
Phone:+1 856 866 1000 x3354
Snail:Telesciences Inc, 2000 Midlantic Dr., Mt. Laurel, NJ, 08054-5476

_______________________________________________
Help-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/help-make

Reply via email to