Makefile tweak for -lm?
rob at landley.net
Sun Dec 4 18:07:27 UTC 2005
On Friday 02 December 2005 22:17, Mike Frysinger wrote:
> > The old problem I always have with makefiles is "what order does this
> > happen in". How do I know that LIBRARIES += $(needlibm-y) will be
> > evaluated after needlibm-y gets set in all the places it needs to be?
> thats what := means versus =
> when you do := make will evaluate the stuff right then ... but if you
> use =, the variable wont be evaluated until it's actually needed
> a1 = $(b)
> a2 := $(b)
> b = c
> @echo a1: $(a1) a2: $(a2)
> the output here will be:
> a1: c a2:
That makes much more sense.
Steve Ballmer: Innovation! Inigo Montoya: You keep using that word.
I do not think it means what you think it means.
More information about the busybox