Build: make it possible to assign macro definitions for specific outputs