I just executed make xy with the wrong user (root). If I try to execute make xy with the correct user (non-root) I get some errors: file z already exists etc. A sudo make xy has no effect. How can I "revert" a make to delete all these files and create a "innocent" field.


Have you tried the clean target?

make clean
  • No, because I didn't know this command :) I'll try this! – strauberry Jun 22 '11 at 8:41
  • "Nothing to do for the target 'make'"... so it doesn't work – strauberry Jun 22 '11 at 8:47
  • You have to run it as root again, just like the "wrong" one before. – slhck Jun 22 '11 at 8:54
  • 1
    If it thought that make was the target, rather than clean, then you didn't run the command properly. – JdeBP Jun 22 '11 at 9:14
  • Also as root executed the same "nothing to do..." – strauberry Jun 22 '11 at 9:34

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.