Loading ...
Sorry, an error occurred while loading the content.
 

Re: vim7: Make_mvc.mak always rebuilds everything

Expand Messages
  • Bram Moolenaar
    ... Strictly speaking the rules of make mean that when one (indirectly) included file is updated the file must be recompiled. Thus that s what happens. For
    Message 1 of 2 , Jun 24 3:07 AM
      Walter Briscoe wrote:

      > I found that nmake -f Make_mvc.mak always rebuilds everything.
      > I download via cvs. I have the following files:
      > 2005-05/19 20:52 6,467 D:\wfb\vim\bld\vim70aa\vim7\src\proto.h
      > 2005-05/20 21:23 2,898 D:\wfb\vim\bld\vim70aa\vim7\src\proto\getchar.pro
      > ...
      > 2005-06/22 14:30 2,171 D:\wfb\vim\bld\vim70aa\vim7\src\proto\window.pro
      >
      > Make_mvc.mak has a rule that proto.h is dependent on proto/*.pro.
      > As it does not update proto.h, everything is always rebuilt.
      >
      > I fixed the problem for myself by touching proto.h.
      > Bram (or somebody else) may have an idea for a more robust fix.

      Strictly speaking the rules of make mean that when one (indirectly)
      included file is updated the file must be recompiled. Thus that's what
      happens.

      For Unix I also disabled the dependency on all the proto/*.pro files.
      It does cause problems when you are not careful...

      --
      hundred-and-one symptoms of being an internet addict:
      134. You consider bandwidth to be more important than carats.

      /// Bram Moolenaar -- Bram@... -- http://www.Moolenaar.net \\\
      /// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
      \\\ Project leader for A-A-P -- http://www.A-A-P.org ///
      \\\ Buy LOTR 3 and help AIDS victims -- http://ICCF.nl/lotr.html ///
    Your message has been successfully submitted and would be delivered to recipients shortly.