lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


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.

Regards,
Mike

On Thu, Oct 27, 2011 at 11:59 AM, Luiz Henrique de Figueiredo
<lhf@tecgraf.puc-rio.br> wrote:
>> 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 Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com