> +ifdef subdir > +generated += $(foreach l,$(extra-libs),$l.symlist) > +endif Why does this need to be in 'ifdef subdir'? The most concise way to write it is '$(extra-libs:=.symlist)'. Or use addsuffix if you think that is clearer (as Andreas S. suggested). Thanks, Roland