Multi threading to execute multiple makefiles
        Posted  
        
            by 
                user105205
            
        on Programmers
        
        See other posts from Programmers
        
            or by user105205
        
        
        
        Published on 2013-10-17T01:11:43Z
        Indexed on 
            2013/10/17
            16:23 UTC
        
        
        Read the original article
        Hit count: 246
        
multithreading
|make
The problem is it takes lot of time(20-30 minutes) to build our application.
There are around 5000+ files and the code is divided into various subsystems, which can be built independently. Each subsystem has its own makefile.
My question is: Is it possible to create a thread for each makefile so that all the subsystems are built in parallel and subsequently run a makefile to merge them all?
If it is possible, how to proceed about it?
© Programmers or respective owner