makefiles: faster by removing unneded rules on recursive entry points