[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
$cons{LIBS} and dependencies
From: |
Doug Alcorn |
Subject: |
$cons{LIBS} and dependencies |
Date: |
27 Apr 2001 11:12:40 -0400 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Solid Vapor) |
I'm building a number of .a libraries in my project and then linking
them in a the final link command. I've added a list of all the
'-lfoo -lbar -lbaz' to the LIBS of the cons environment. I thought
the documentation said that the library would be added to the
dependencies. However, I have to have a line like this:
Depends $CONS "$TARGET", ( "$EXPORT/lib/libfoo.a",
"$EXPORT/lib/libbar.a","$EXPORT/lib/libbaz.a");
In order to get the libraries built. Is this normal? Note that I do
have Library commands in my Conscripts to build libfoo.a libbar.a and
libbaz.a.
--
(__) Doug Alcorn (mailto:address@hidden http://www.lathi.net)
oo / PGP 02B3 1E26 BCF2 9AAF 93F1 61D7 450C B264 3E63 D543
|_/ If you're a capitalist and you have the best goods and they're
free, you don't have to proselytize, you just have to wait.
- $cons{LIBS} and dependencies,
Doug Alcorn <=