target: create and use target_name()