Fergus Henderson <[EMAIL PROTECTED]> writes:

|> Then you could use this feature by just setting the `CC' make variable
|> to contain this special character followed by the name of the appropriate
|> `.so' file.
|> 
|>      CC := &`gcc -print-dynamic-driver`
|> 
|> Note that using GNU Make's ":=" rather than "=" here ensures that this
|> will only get evaluated once.

If you want that you must use the GNU make extension $(shell ...):

        CC := &$(shell gcc -print-dynamic-driver)

Backquotes are never evaluated by make.

Andreas.

-- 
Andreas Schwab                                  "And now for something
SuSE Labs                                        completely different."
[EMAIL PROTECTED]
SuSE GmbH, Schanz�ckerstr. 10, D-90443 N�rnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5

_______________________________________________
Help-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/help-make

Reply via email to