I am trying to compile some code that was provided to me using a makefile that was also provided to me. I use MinGW for my compiler on Windows 10.
I have very little experience with makefiles and the makefiles that I have created and ran were no where near as sophisticated as the one I am trying to use to compile some code.
Usually when I compile using a makefile, in command prompt, I go to the directory where the files are located and I just type the command "make" and an executable is created and then I can run the code. However, this time it doesn't work. I get a message that reads:
'make' is not recognized as an internal or external command, operable program or batch file. "
Here is the contents of the make file:
CC=g++
CFLAGS=
INC=
LIB=
all:  sorting
sorting:  Driver.o Helper.o
    $(CC) $(CFLAGS) -o $@ $^ $(LIB)
.cpp.o:
    $(CC) $(CFLAGS) $(INC) -c -o $@ $^ 
Driver.cpp:  Sorting.hpp Helper.cpp
Helper.cpp:  Helper.hpp
clean:
    rm -f *.o sorting
How do I use this make file to run the code?
 
     
     
     
     
    