tools: add a 'global' compilation target to the tests makefile