[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Slight improvement to common.make
From: |
Nicola Pero |
Subject: |
Re: Slight improvement to common.make |
Date: |
Mon, 18 Mar 2002 17:09:07 +0000 (GMT) |
Hi Markus,
sorry for being late in answering - have been busy.
I've rewritten your patch so that it doesn't fire any subshell, and it
only scan directories when compiling or linking - not each time a makefile
is read - to prevent degradation of performance on make clean etc.
I've made the patch OS X specific, then committed to CVS.
Let me know if it works for you, or if you have got any problems with it.
> >> Hello all,
> >>
> >> the linker installed on OS X complains about empty directories.
> >> Today I found this annoying and decided to exclude empty Header
> >> and Library directories from the search list. The exclusion is
> >> done at build time, so any change will be honored immediately.
> >
> > Thanks for reporting - it is an interesting problem - are you sure that
> > the OS X linker/compiler does not have an option to shut up the
> > warnings ?
>
> There's the "-w" option which supresses _all_ warnings. Not
> really what I want.
>
> > The problem with you patch is that it slows down the processing a lot.
> > It is firing a lot of subshells ... that stuff is forbidden :-)
>
> Version #2 fires only two subshells and fits better if you want
> to make it OS X specific: