Make work with multiple targets in build tree