Tzahi, I could recommend classic paper "Recursive Make Considered Harmful" http://aegis.sourceforge.net/auug97.pdf
It describes a way to build Makefiles with automatic dependencies, meaning no separate "make dep" target. Non-recursive Makefile builds *exactly* needed files and only them. Saves tones of time and resulting binaries always consistent, meaning no need to do "make clean" just to be sure. The main idea behind it *not* using industry standard practice of main Makefile recursively running make in subdirectories. Instead single Makefile should be used which includes subdirectory's Makefiles. It makes a difference, because this way make program has a full picture of project's dependency graph. This model is clearly a beauty if you ask me. It is simple and it works. Alexander Indenbaum On 9/27/06, Tzahi Fadida <[EMAIL PROTECTED]> wrote:
Hi, I wish to learn more about build process/es. Specifically in C. Background: i am potentially (/trying to) entering the field of CM - Configuration Management. I am told a main part of that is the build process, specifically in the area of dependencies. I am talking about such jobs in very big companies. I understand that in such companies, builds can run for days if not setupped/optimized correctly. Obviously i compiled my own projects, which had dependencies in the code. :) I am guessing that it is much more than just building small libraries. Where can i find information that will show me how this is done and what i need to know. Some tips... 10x. -- Regards, Tzahi. -- Tzahi Fadida Blog: http://tzahi.blogsite.org | Home Site: http://tzahi.webhop.info WARNING TO SPAMMERS: see at http://members.lycos.co.uk/my2nis/spamwarning.html To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
-- Alexander Indenbaum ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]