[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

There is a bug in the make manual!!

From: ali hagigat
Subject: There is a bug in the make manual!!
Date: Mon, 6 Sep 2010 08:21:20 +0430

Secondary Expansion of Implicit Rules
%.o: $$(addsuffix /%.c,foo bar) foo.h
The prerequisite list after the secondary expansion and directory
prefix reconstruction
will be ‘/tmp/foo/foo.c /tmp/var/bar/foo.c foo.h’.
I copied some lines of the 2010 make manual, page 19. It says
prerequisite list will be:
Where is 'var'?
It seems incorrect. Also expansion seems wrong.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]