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.
_______________________________________________ Help-make mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-make
