Thank you Paul - perfect hit!

> However, this cannot work.  See the GNU make Manual, section "Chains of
> Implicit Rules" in the chapter "Implicit Rules":
>      No single implicit rule can appear more than once in a chain.  This
>   means that `make' will not even consider such a ridiculous thing as
>   >...<
Indeed, adding 2 fresh rules like

li%.so:li%.so.$(SO)
        ln -snf $$(basename $<) $@

li%.so.$(SO):li%.so.$(VER)
        ln -snf $$(basename $<) $@

allowed make to find the chain right... but should not it be
parametrised, ie "implicit rule cannot appear more than X (X now is 1)
times in the chain"... and X (default 1) could be overridden in Makefile.
I think it would of some use... just my 0.1 cents

-- 
Yaroslav Halchenko
Research Assistant, Psychology Department, Rutgers-Newark
Office: (973) 353-5440x263 | FWD: 82823 | Fax: (973) 353-1171
        101 Warren Str, Smith Hall, Rm 4-105, Newark NJ 07105
Student  Ph.D. @ CS Dept. NJIT


_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to