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

So the question is how am I supposed to uninstall or remove the files that has been installed after running the make instal? (Specially when I stop it in the middle of the process by a "Ctrl+C" or something)

share|improve this question
up vote 2 down vote accepted

use make clean to delete the object files and executables created by make. it should delete the files that were partially built.

if the process was already copying compiled objects to other locations in your OS, you should try make uninstall. if that is not sufficient or not defined in your makefile, you may have to analyze your Install: section to determine what it does, and add the file locations to the clean routine by editing the make file clean: function and including them in the commands therein.

See an annotated example of a makefile here, under 'A Simple Makefile'

If that answer is not sufficient, I recommend you post the makefile as part of your question.

share|improve this answer

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.