That’s not how it works. Delve into Makefile’s. The short: you have to create a Makefile. Every entry has to start with a tab. Starting with space will lead to weirdness.
The file is called literally Makefile.
That’s your problem for this issue.
EDIT: the file has no extension.
EDIT2: Not every entry has to start with a tab. Only the ones that are indented.
This is not about C. It’s about make utilities. You can use that in every language that is machine compilable.
It has nothing to do with C other than that it supports building your program. It does so in a lot of other languages.
Managed languages like java and C# and interpreted languages often have different utilites with same goal. This is out of my area though.
What I am trying to say is this:
Do not let this stop you from learning any language. It has nothing to do with C.
On the other hand, if you think C is a PITA, it is. Still, I like it’s elegance and I am working hard to improve my attitude toward coding, using C. As the course shows, you need the attitude in every language.