1

I keep getting the error "*** No rule to make target `hello'. Stop." when I try to make hello; I searched for this error and tried cd pset1 for example, but it it still shows the same error; any specific advice?this is a screen shot of the program

3

Looking at the screen capture, I would say that hello doesn't compile because you are not in the directory that contains hello.c. It would appear that you are trying to execute the make hello command in ~/workspace/pset1 but hello.c resides in ~/workspace. Try moving the hello.c file to the pset1 directory.

If this answers your question, please click on the check mark to accept. Let's keep up on forum maintenance. ;-)

| improve this answer | |
  • thank you so much – Shaheen May 26 '18 at 22:28

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .