Shell script for bash that auto-generates a simple c/c++ Makefile in the current working directory having all the header and implementation [.h/.cpp] files in the same folder and not in sub-folders. The script can also compile the executable with the maximum amount of threads in a system.
automake autoconf bash
You need to make the script executable with the command:
chmod 744 mmf
If the script is in the current working Directory
./mmf
If the script is in the shell path
mmf