%% Yaroslav Halchenko [EMAIL PROTECTED] writes:
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
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
make could not figure out full graph of implicit rules
From the info pages:
4.12.2 Static Pattern Rules versus Implicit Rules
...
An implicit rule _can_ apply to any target that matches its
pattern,
but it _does_ apply ... only when the prerequisites can be found.
...
By
%% Yaroslav Halchenko [EMAIL PROTECTED] writes:
yh cat Makefile
yh SO=1
yh T=2
yh VER=$(SO).$(T)
yh lib%.so:lib%.so.$(SO)
yh ln -snf $$(basename $) $@
yh lib%.so.$(SO):lib%.so.$(VER)
yh ln -snf $$(basename $) $@
yh a/b/c/lib%.so.1.2: a/b/c/libz%.so
yh