chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] A fix for parallel build (gmake -j)


From: Moritz Wilhelmy
Subject: Re: [Chicken-users] A fix for parallel build (gmake -j)
Date: Thu, 6 Oct 2011 14:43:27 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

On Thu, Oct 06, 2011 at 15:37:08 +0300, Vitaly Magerya wrote:
> --- rules.make.orig   2011-10-06 14:50:00.000000000 +0300
> +++ rules.make        2011-10-06 14:50:06.000000000 +0300
> @@ -242,7 +242,7 @@
>  
>  # import libraries and extensions
>  
> -%.so: %.o
> +%.so: %.o $(PRIMARY_LIBCHICKEN)
>       $(LINKER) $(LINKER_OPTIONS) $(LINKER_LINK_SHARED_DLOADABLE_OPTIONS) $^ 
> $(LINKER_OUTPUT_OPTION) $@ \
>         
> $(LINKER_LIBRARY_PREFIX)$(PROGRAM_PREFIX)chicken$(PROGRAM_SUFFIX)$(LINKER_LIBRARY_SUFFIX)
>  \
>         $(LIBRARIES) 


I'm not sure whether this is correct, as $^ will expand to all
dependencies, not just %.so. Since there is only one dependency other
than PRIMARY_LIBCHICKE, $< seems more appropriate, but I'm not really
very well-informed about the chicken build system and makefiles.


Best regards,

Moritz



reply via email to

[Prev in Thread] Current Thread [Next in Thread]