0

I have done all of the following instructions for Pset2 readability but am still unable to execute "make readability":

"Execute cd to ensure that you’re in ~/ (i.e., your home directory)"

"Execute mkdir readability to make (i.e., create) a directory called readability in your home directory"

"Execute cd readability to change into (i.e., open) your new readability directory"

"Execute open readability.c to create and open in the editor an empty file called readability.c in your readability directory"

Whenever I type "make readability" I get "make: *** No rule to make target 'readability'. Stop.".

I tried help50, and it said "Do you actually have a file called readability.c in the current directory? If using a Makefile, are you sure you have a target called readability?"

1 Answer 1

1

I know you believe that you're doing everything exactly right, but I'm still betting you're not in the right directory.

From where you are trying to execute make readability, type in the command ls -al. This will list all the files and directories in your current directory. Is there actually a file called readability.c? If not, you'll get those errors.

The next question is this. After you created readability.c and entered your code in that file, did you save it and where did you save it?

If you still can't figure it out, run the ls command again and paste a screenshot of your IDE in the question.

You must log in to answer this question.

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