Use setup makefile + make by default to build libraries
authorSimon Marlow <simonmar@microsoft.com>
Wed, 20 Jun 2007 12:20:09 +0000 (12:20 +0000)
committerSimon Marlow <simonmar@microsoft.com>
Wed, 20 Jun 2007 12:20:09 +0000 (12:20 +0000)
commitb802bbad8dc2a401c131264cbd08620179f8999b
treeff736d055f4e62e9a724793fac3a117654500625
parentc15489181a60a228ce52b945d2523cfdacd5a90b
Use setup makefile + make by default to build libraries

The advantages of this are
  (a) it's a step closer to getting -j working again (make -j works in
      an individual library, but not in libraries/ yet).
  (b) it's easier to hack on libraries: make dist/build/Foo.o
  (c) it's a step closer to getting HC bootstrapping again

The build system creates <lib>/GNUmakefile as part of 'make boot'.
This was chosen so as not to interfere with existing Makefiles, but
it's a bit of a hack.  (previously I used CabalMakefile, but that
means adding -f CabalMakefile each time you run make, and that's a
pain).
libraries/Makefile
libraries/Makefile.local [new file with mode: 0644]