patch applied (ghc): Tweak mk/sub-makefile.mk

Simon Marlow marlowsd at gmail.com
Tue Jun 2 06:26:34 EDT 2009


On 02/06/2009 10:06, Simon Marlow wrote:
> On 30/05/2009 13:55, Ian Lynagh wrote:
>> Fri May 29 10:57:48 PDT 2009 Ian Lynagh<igloo at earth.li>
>> * Tweak mk/sub-makefile.mk
>>
>> M ./mk/sub-makefile.mk -3 +1
>>
>> View patch online:
>> http://darcs.haskell.org/ghc/_darcs/patches/20090529175748-3fd76-88f2da50dc70b039dcf673829e9f64b0f1e1658b.gz
>>
>
> Hmm, what's this about?
>
> hunk ./mk/sub-makefile.mk 17
> -default :
> - +$(TOPMAKE) all_$(dir)
> +default: all
> hunk ./mk/sub-makefile.mk 22
> -# all comes first, we want it to be the default target
>
> So it seems that make in a subdir will now make 'all' rather than
> 'all_$(dir)'. Why?

Oh, never mind.  I see how it works.

Cheers,
	Simon



More information about the Cvs-ghc mailing list