Added support for automatically generate make file with the updated detected