bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #3116] recompile changed files first


From: anonymous
Subject: [bug #3116] recompile changed files first
Date: Thu, 6 Apr 2006 17:23:30 +0000
User-agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)

Follow-up Comment #4, bug #3116 (project make):

Just a guess what he meant:
If after changing a soiurce file a 'make clean' is done, it would be a good
thing to try to build the target first which has the newest date (the changed
one), as it is the one most likely to have errors. 
This saves a lot of time sice emake stops after the first error (unless -k)

The bigger the project is, the longer it might take until the newly changed
file is compiled and make stops.

If the dependencies are set up properly, it is normally not necessary to call
a make clean. But in some projects it is necessary to 'hide' some dependencies
because e.g. an include file is constantly changed but these changes do not
affect most of the files which include it. E.g. a file with global
definitions whose current changes are only important for the C file currently
being worked on.

But, well, then one can recompile until there are no more errors and then
make a complete build.


Anyway, building the target with the newest prerequisite first would be a
nice idea.


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=3116>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]