Julien, I have tried to write it in Makefile-style, but I think that it's not possible to create ifeq when "test-perf" rule start to be executed. Another problem is the "for" loop.

Could you confirm it to me? Is It possible?