Just looked at the most recent CVS copy of the manual on savannah...
the technique for recursive makefiles of
ifeq (0,[EMAIL PROTECTED]@})
cur-dir := $(shell pwd)
is discussed, and passing pwd down with
${MAKE} cur-dir=${cur-dir}/$@ -C $@ all
Isn't it a better idea to just use ${CURDIR}?
Maybe the example should also mention this?
(I just discovered ${CURDIR} recently, I've been doing
what the example does for years...)
marty [EMAIL PROTECTED]
Don't confuse education with schooling.
Milton Friedman to Yogi Berra
_______________________________________________
Bug-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-make