There are several ways to do this: none of them are very clean (this is a strong hint that you are trying to do something that is not suitable for Make), and your specific case may require special handling, but here goes:
OBJECTS = foo bar baz NLIST = $(shell for x in {1..$(words $(OBJECTS))}; do echo $$x; done) LIST = $(foreach x,$(NLIST), do_something_with_$(x)_and_$(word $(x),$(OBJECTS)))
source share