Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
up vote 2 down vote accepted

Have you tried the clean target?

make clean
share|improve this answer
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
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 posting your answer, you agree to the privacy policy and terms of service.

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