Go Job Hunting at the LQ Job Marketplace
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 01-31-2005, 02:17 AM   #1
Registered: Dec 2004
Location: hong kong
Posts: 44

Rep: Reputation: 15
what is the difference between make distclean and make clean?

Hi all,
I would like to ask a question as titled..


Old 01-31-2005, 10:14 PM   #2
Registered: Jul 2003
Distribution: Slackware
Posts: 389

Rep: Reputation: 52
Have a look at:

Basically, if "make" built it, "make clean" will delete it. If "./configure" built it, "make distclean" will delete it.

1 members found this post helpful.
Old 08-27-2008, 09:27 PM   #3
LQ Newbie
Registered: Mar 2008
Location: Bangalore, INDIA
Posts: 4

Rep: Reputation: 3
The link is "lyle_s"'s post above is broken.

I think this is the correct link.

- Googie
1 members found this post helpful.
Old 08-28-2008, 01:22 AM   #4
John VV
LQ Muse
Registered: Aug 2005
Posts: 16,255

Rep: Reputation: Disabled
the short answer is
make clean -- will delete almost all files made by ./configure and make
make distclean ( this dose not work on ALL programs but most ) will remove ALL files made by ./configure and ALL files made by make
try this link

Last edited by John VV; 08-28-2008 at 01:24 AM.
1 members found this post helpful.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
make clean, make dep problem carscht Linux - Newbie 2 02-21-2004 10:32 AM
kswaret 'make distclean' powadha Slackware 5 12-20-2003 06:20 PM
what does make distclean do? danahata Linux - General 1 08-26-2003 03:49 PM
Difference between make clean and uninstall tuka Linux - Newbie 2 08-23-2003 07:25 AM
make dep,make clean,make bzImage problem Babba Linux - Newbie 2 01-08-2003 03:49 AM

All times are GMT -5. The time now is 11:40 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration