3

For pset5 I did as suggested and copied copy.c to a new file named whodunit.c. I've left everything the same but hopefully changed the red pixel values. When I go to compile using make I get this message:

make: Nothing to be done for `whodunit.c'.

I have not got a whodunit program in the directory so it definitely has not already compiled. What am I missing here?

8

You are most probably doing

make whodunit.c

which should be

make whodunit

I also often get confused with these. So there is a way to think for it, always remember, you want to create executable that's why you write make whodunit, you don't want to create whodunit.c(ofc you are the one who is going to write it and not the computer), so you don't write make whodunit.c. That's how I memorize that.

Good Luck.

| improve this answer | |
  • Thanks sinister !!! You've solved my hadache ! :-) – user10189 Nov 13 '15 at 0:02
  • Great answer, I like your way of remembering which command is correct :D – Spirit Sep 7 '16 at 15:18

You must log in to answer this question.

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