Follow-up Comment #1, bug #17245 (project make): Well, if you need such functionality, you can write your own function:
==== MyNotDir_1 = $(if $(patsubst %/,,$1),$(notdir $1),.)#OK MyNotDir = $(foreach v,$1,$(call MyNotDir_1,$v)) ==== Now, MyNotDir acts as you expect. I've tested it on make 3.80 & make 3.81. Of course, GNUmake should better add a new internal function for this, so that users like you don't have to bother adding his own functions. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?17245> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/ _______________________________________________ Bug-make mailing list Bug-make@gnu.org http://lists.gnu.org/mailman/listinfo/bug-make