lua-users home
lua-l archive

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


----- Original Message -----
From: Zé
Date: 3/8/2013 11:08 AM
On 03/08/2013 04:48 PM, Joshua Jensen wrote:
Unfortunately, pruning these doesn't work.  When there is an update of
these system header files, the build system should notice this and
update the executable accordingly.

System headers aren't expected to change, which is why build systems tend not to keep track of them.

If you really want your project to be rebuilt when these headers are updated then you could try explicitly adding them as a prerequisite for your project's build process. This isn't exactly standard procedure, because this is a highly unusual use case, so unusual that it indicates the problem lies with something other than the build process.

System headers can easily change with an update to GCC or Visual Studio or whatever. The user shouldn't have to think about running 'make clean' after an update like this. It should just work.

All of this stuff is WAY off topic for the Lua mailing list, though. However, it is a good discussion to be had elsewhere. Just say where...

-Josh