Re: [AD] 'copy' commands in makefile.all?

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


On Mon, Nov 19, 2001 at 09:48:17AM +0000, Laurence Withers wrote:
> OK, but doesn't makefile.all get included by *every* makefile? I seem to
> be missing something here...

Not exactly. I guess the problem is having one of those long filenames:
makefile.all_except_unix_and_possibly_macos_too. AFAICS the makefile.all
is for all those platforms without autoconf support, to reduce redundant
rules and so.

> On a side note, would anybody like to upgrade Allegro's makefile system?

Certainly. At least get rid of those makefile.* at root, possibly moving
them to a subdirectory with better names, like the ones of docs/build.

> On my projects, I use a system which autodetects the platform and
> includes a makefile specific to each platform. The downside is that this
> probably requires GNU make.

Hmm... so far this was a must, remember those FreeBSD users? Peter might
have dealt with that though.

> For instance, a text editor I am working on autodetects whether it is
> being compiled on SunOS, DJGPP or Linux. Typing `make' in any of those
> three platforms will work without any hassle whatsoever.

I think that's nice (when you don't have configure). Maybe you can put
up a dummy example somewhere so people can play with it and tell their
opinions.

-- 
 Grzegorz Adam Hankiewicz   gradha@xxxxxxxxxx   http://gradha.infierno.org/



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