"H. S. Teoh via Digitalmars-d" wrote in message news:[email protected]...

> does this mean that 'make' will be eventually dropped? oh, noes...

One idea I had, which is easily done in SCons, is to auto-generate
makefiles for each platform. On the dev box, run scons with a particular
virtual target, say `scons genmake` or something like that, and it will
iterate over each supported platform and spit out a makefile using the
dependency tree it already knows. The generated makefile will be a list
of hard-coded rules for building stuff, with no macros and what-not, so
it will Just Work, but not do much more than that. These generated
makefiles can then be shipped as part of the source distribution, but
they need not (and probably should not!) be in the git tree.

I think we should be ok adding the generated files to source control, so long as the autotester is set up to verify they have been updated.

Reply via email to