Make Makefile automatically