make clean

WHen installing software, after compiling by using "make" command, some asks to "make clean". Some does not ask it.
WHat does "make clean" do? Will it cause any problem if I "make clean", when installation instructions don't state to "make clean"? Thanks.
rongzAsked:
Who is Participating?
 
elfieConnect With a Mentor Commented:
clean is an entry in the makefile.

Read your makefile, look for the 'clean' rules and verifies what it does.

Normally a clean action will remove everything that is build. (e.g objects, programs).

If some installation program asks it, the y normally remove all unneeded files, and just leave executable (and maybe the original sources)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.