Re: [AD] unix dependencies

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On Mon, 2005-04-18 at 15:17 +0200, Hein Zelle wrote:
> Elias Pschernig wrote:
> 
> > I'll try to look soon at replacing sed and the misc/dep* scripts with
> > gcc -M for the unix builds.. who knows how many more hidden bugs there
> > are in it.
> 
> Just be aware that gcc -M has (or used to have, at least) it's flaws
> too, especially when you generate dependencies for files in
> subdirectories. I've had to use a sed or perl script before to modify
> the output of gcc -M to function properly in subdirectories.
> 

Yeah. Still, it won't require so many separate dep* scripts, and
therefore reduce the probability of not working, like so many times the
dep* scripts did in the past, and nobody knows if the output is correct
right now. And another reason, gcc -M and sed on the output is
significantly faster than using sed directly on the source code as the
dep* scripts do.

Anyway, my plans now are to try an automake solution, which would be far
superior to any manual dependencies generation.

-- 
Elias Pschernig





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/