Never mind. What I wanted to do, is, if I have a pool of possible goals, like : foobar0 and foobar1 for example, then I wanted to be able to do
>make foobar and that would make any matching goal with that prefix. So there I tried to do this strange %: $(filter $*%...) Which "seemed" to work, except not for .SECONDEXPANSION. Nonsense. The correct way is $(foreach var,$(MAKECMDGOALS),$(eval $(var):$(filter $(var)%,$(GOALS)))) Mark _______________________________________________ Help-make mailing list Help-make@gnu.org https://lists.gnu.org/mailman/listinfo/help-make