I am now studying C++. I want a makefile which will compile all of the cpp files in the current directory to separate executables. For example:
The simplest makefile you can create that might work for you is this:
all: examp1.exe examp2.exe examp3.exe
That will use make's default rules to create your three programs.