lua-users home
lua-l archive

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


> 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.)
--lhf