[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: autoconf / automake
- From: Michael Gogins <michael.gogins@...>
- Date: Thu, 27 Oct 2011 14:35:52 -0400
You could afford to always rebuild everything, so you could afford to
put all Lua source code in one .c file and build it with a single
command. Configuration of compiler options, include paths, etc. could
then be done in a script.
On Thu, Oct 27, 2011 at 11:59 AM, Luiz Henrique de Figueiredo
>> For the other side the Makefile of Lua itself is a good
>> example of how a makefile should *not* be done.
> Could you please elaborate? I don't recall any major issues reported here.
> The Makefiles in the Lua tarball are meant to be portable to all variants
> of make that exist, not just GNU make. Just like Lua caters for ANSI C, not
> GNU C. But perhaps for the Makefiles this portability is pushing it. However,
> I do remember old Sun OS machines whose make was very plain. So perhaps the
> question is "What is the equivalent of ANSI C for make?".
Michael dot Gogins at gmail dot com