[PATCH] top-level Makefile patch

Rob Landley rob at landley.net
Mon Mar 6 21:52:04 UTC 2006


On Monday 06 March 2006 12:30 pm, Bernhard Fischer wrote:
> >> Well, the .*m* are multi-source, i.e. libbb/xfuncs.c et al which need
> >> the -DL_func to compile the individual objects defined therein.
> >> .*s* are the files compiled with -fPIC
> >
> >Why do these not generate .o files?  (They used to.)
>
> It's less complicated to have one rule to catch these multi-source
> files. Doing so makes the buildsystem imo less complicated than the
> other way round.
>
> >Couldn't we break up xfuncs into several different .c files to make that
> > less
>
> You once preferred the multi-source files over hundreds of small .c
> files. Would have to look up your post on this in the archives..

It's ugly either way. :)

> >complicated, rather than make the build system more complicated?
>
> IMO the multi-source files are not an issue at all. Why do you think
> they pose a problem?

I'll live.  It's just ugly.

Rob
-- 
Never bet against the cheap plastic solution.



More information about the busybox mailing list