[CentOS] mkdep vs. makedepend

Alfred von Campe alfred at von-campe.com
Fri Jul 4 23:53:21 UTC 2008

On Jul 4, 2008, at 17:50, MHR wrote:

> One of my assignments is to bring this up to CentOS, but on my first
> effort, I ran into this interesting "feature."  The original build
> process (FC1) uses mkdep to generate the dependency files that are
> subsequently used by the makes to build the app.  mkdep does not exist
> in CentOS 5.2.  There is a makedepend command that operates slightly
> differently.

I'm not 100% positive on this, but I believe that mkdep/makedepend  
are optional and only needed for build avoidance.  If you do a "make  
clean" followed by a "make all" (or simply "make clean all"), it  
should rebuild your application from scratch (assuming that the "all"  
target is defined to do so) and no dependency rules are needed.  It  
will take longer to rebuild since it has to recompile everything, but  
it doesn't sound like you run this build every day.


More information about the CentOS mailing list