This is a very basic program because I am using Make and Linux both for the first time. I have seen other questions similarly and I have tried all: *.o
all: *.c
And clean : rm *.o h1
And here is the directory

Advertisement
Answer
You have a file called makefile and one called Makefile. Delete the one that doesn’t have any contents.