[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Makefile improvement
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Mon, 5 Dec 2005 07:25:29 -0200
> In the Lua 5.1 makefiles, I wonder if we could abolish MYCFLAGS, etc. in
> favor of appending to variables with the "+=" construct. The issue with
> the current makefiles is that if one overrides CFLAGS on the command
> line, then MYCFLAGS isn't honored.
Like luaconf.h, the makefiles are supposed to be edited and customized.
Adding modifications on the commnad line is not permament and may generate
broken builds. Moreover, the "+=" construct is not supported by plain make.
(We try to use the simplest makefiles so that they can be run by any
flavor of make, not just gnu make.)