Make -split-objs work with --make
authorSimon Marlow <simonmar@microsoft.com>
Thu, 2 Mar 2006 17:05:05 +0000 (17:05 +0000)
committerSimon Marlow <simonmar@microsoft.com>
Thu, 2 Mar 2006 17:05:05 +0000 (17:05 +0000)
commitec968a32e9b02c230dfcbff9660c3e61900d8235
tree426b4bfe1fc37c9905f59ab0c5e62097358eabfe
parent1187e57fab2b5904a808ac973e5d04b91f880920
Make -split-objs work with --make
This turned out to be a lot easier than I thought.  Just moving a few
bits of -split-objs support from the build system into the compiler
was enough.  The only thing that Cabal needs to do in order to support
-split-objs now is to pass the names of the split objects rather than
the monolithic ones to 'ar'.
ghc/compiler/Makefile
ghc/compiler/main/DriverPhases.hs
ghc/compiler/main/DriverPipeline.hs
mk/target.mk