C++ Make asks for a file that doesn’t exist

  c++, makefile

When I try to build/compile my code, I get this error:

make: *** No rule to make target '../../Source/GardenCounter.cpp', needed by 'build/intermediate/Debug/GardenCounter_15332182.o'.  Stop.
The terminal process "/bin/bash '-c', 'make QUIET=0'" terminated with exit code: 2.

I don’t have a file named GardenCounter.cpp anymore. I deleted it and yet it is still asking for it. I tried to delete the old .o and .d files and recompile everything from scratch but I’m still being asked for this.

Source: Windows Questions C++