Need help deciphering posix.mak

Daniel Murphy via Digitalmars-d digitalmars-d at puremagic.com
Thu Nov 27 20:54:02 PST 2014


"H. S. Teoh via Digitalmars-d"  wrote in message 
news:mailman.2384.1417124501.9932.digitalmars-d at puremagic.com...

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



More information about the Digitalmars-d mailing list