[Asterisk-Dev] Makefile problem

Tzafrir Cohen tzafrir.cohen at xorcom.com
Tue Aug 30 05:25:03 MST 2005


On Tue, Aug 30, 2005 at 01:38:44AM -0500, Kristian Kielhofner wrote:
> In CVS-HEAD the main Asterisk Makefile, line 33 has this:
> 
> OSREV=${CROSS_REV)
> 
> It should be (obviously):
> 
> OSREV=$(CROSS_REV)

Is the paragraph below correct?

Such a construct appears in quite a few places. It appears to work. It
will probably only break badly if := instead of = , but it is still
wrong: It means that the variable is not expanded by make. Rather, it is
expanded later on by the shell that expands and executes rules lines.

-- 
Tzafrir Cohen     icq#16849755  +972-50-7952406
tzafrir.cohen at xorcom.com  http://www.xorcom.com



More information about the asterisk-dev mailing list