Makefile

The call function

reverse = $(2) $(1)
foo = $(call reverse,a,b)