Automatic dependencies implemented in Makefile