Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

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' http://www.cs.utah.edu/dept/old/texinfo/make/make.html

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

share|improve this answer

Your Answer

 
discard

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.