I have a make file that looks something like the following...
.SECONDARY: THRESHOLDS=010 020 030 040 050 FIRST=$(foreach T,$(THRESHOLDS),test.$(T).txt) $(