So, I was making some code on Visual Studio Code (mac) and encountered a makefile error, and I tried to fix it, but couldn't. So I was wondering if anyone could help me with this. Here is the layout(screenshot):
And I get this error when I run is in the mac terminal:
Can someone help me fix it? if you need it here is my makefile:
The compiler said your makefile didn't work, and did not capture the files it was supposed to capture.
$^ is empty.
I was on a youtube tutorial on how compilers work because I was bored, and the guy made a makefile like that, and it didn't work for me. So I made a post. I still don't know why it didn't work. BTW, I was on visual studio code(mac). And I was using the mac terminal to run it. I can show you the source code.