[comp.sources.games.bugs] Hack dependencies are too complex?

allbery@ncoast.UUCP (Brandon S. Allbery) (02/23/88)

I just had to patch something in config.h that should probably not be there
which affected only one file.  (At least in my case.  The local compiler is
slightly biggy, and the SIZE(x) definition threw it in u_init.c.)  Anyway, I
then tried to touch files to keep it from remaking everything.  Which failed
after a certain point, when it went from "recompile some things" to "recompile
everything" again.

This is more than slightly upsetting, since it takes three hours to compile
nethack on ncoast.  (It takes about an hour on my 3B1.)  Is there some kind
of circular dependency that forces everything to be recompiled almost always?
I should have had to compile only about 10 files (u_init.c and everything
after it), but instead I have lost all the work of this afternoon.

Of course, this will go out too late to help me this time -- but I guarantee
you I'll have to patch stuff when 2.3 comes out, there are so many bugs in
this compiler.  And it will help if I don't have to recompile the whole thing
when one file gets messed up.
-- 
	      Brandon S. Allbery, moderator of comp.sources.misc
       {well!hoptoad,uunet!hnsurg3,cbosgd,sun!mandrill}!ncoast!allbery
KABOOM!!! Worf: "I think I'm sick." LaForge: "I'm sure half the ship knows it."