0

enter image description hereI tried to compile my water.c progam but keep getting the error message: "*** No rule to make target `water'. Stop"

I have tried researching what the problem could be, but it seems like my file is properly named and that I am in the right folder (or so I think).

I would really appreciate if someone could help me :)

5

From the view of the folder tree on the left we see that the .c files are in a directory under workspace named pset1. At the bottom we see that the compile is being run from the workspace directory. You need to cd pset1 before running the make command.

You must log in to answer this question.

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