[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: There is a bug in the make manual!!
From: |
ali hagigat |
Subject: |
Re: There is a bug in the make manual!! |
Date: |
Sun, 5 Sep 2010 11:01:10 +0430 |
Secondary Expansion of Implicit Rules
.SECONDEXPANSION:
/tmp/foo.o:
%.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:
/tmp/var/bar/foo.c
Where is 'var'?
It seems incorrect. Also expansion seems wrong.