better Makefile with right dependencies