Search code examples
clinuxmakefiletarget

*** No targets. Stop on Linux using C


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 enter image description here And here is the directory enter image description here


Solution

  • You have a file called makefile and one called Makefile. Delete the one that doesn't have any contents.