make makefile resources aware