makefile: extract tools-obj-y