I keep getting the No rule to make target error on the runoff problem even when I'm in the correct directory as you can see in the picture attarunoff codeched. Note: I have just completed the vote function for this problem and not the other functions so I don't know if thats the issue

1 Answer 1


No, you're not in the same directory. The file runoff.c is appears to be in the directory week3/pset3/plurality'. You're in the directory week3/pset3/runoff. There also appears to be an additional directory week3/pset3/plurality/runoff`, which appears to be directory.

To my thinking, you have too many directories and files for this project. Time to clean things up and work with one version.

To check the files in the current directory, run the following command ls -al

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

You must log in to answer this question.

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