cvs commit: fptools/ghc/driver/ghc Makefile fptools/ghc/driver/ghci Makefile - PS

Carl R. Witty cwitty@newtonlabs.com
29 Jun 2001 10:27:03 -0700


"Marcin 'Qrczak' Kowalczyk" <qrczak@knm.org.pl> writes:

> Thu, 28 Jun 2001 13:09:52 +1000, Manuel M. T. Chakravarty <chak@cse.unsw.edu.au> pisze:
> 
> > BTW, I found the following article very interesting:
> > 
> >   http://www.canb.auug.org.au/~millerp/rmch/recu-make-cons-harm.html
> > 
> > It's title is ``Recursive Make Considered Harmful.'' :-)
> 
> After reading that article I switched to a single Makefile in QForeign
> and it indeed made Makefiles more clear and faster.

We recently switched away from recursive Make here at work.  I like
the new system much better.  Before we did this, there were some
libraries that you had to build by hand (and would not be
automatically rebuilt if they were out of date), and some libraries
that were automatically rebuilt by calling make recursively on every
compilation.  We would switch libraries back and forth depending on
whether we were actively working on that library or not.  Now
everything is automatically rebuilt, and the compiles are still quite
fast.

Carl Witty