improved makefile dependencies