‘No such file or directory’ error in my C++ basic makefile [closed]

  c++, makefile

I am currently a beginner to C++, and for a lab I am doing I am supposed to create a makefile to compile three different programs I have written; for some reason, the ‘make clean’ command works and one program compiles but one doesn’t, giving a ‘No such file or directory error’ when I run the make file.

Here are the screenshots of the output and my directory:

The files in the working directory

My makefile

The error; it works for exclusive and works when I try 'make clean' but gives me an error for primesum

Source: Windows Questions C++

LEAVE A COMMENT