Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c++ > #67506

Re: Adding compilation arguments to 4000 make files. . .

From Ian Collins <ian-news@hotmail.com>
Newsgroups comp.lang.c++
Subject Re: Adding compilation arguments to 4000 make files. . .
Date 2019-08-10 09:43 +1200
Message-ID <gr67nlFu65U1@mid.individual.net> (permalink)
References <ea8b6885-d11b-47b5-af6f-10ca3b171ba6@googlegroups.com> <slrnqkosec.cdo.grahn+nntp@frailea.sa.invalid> <08%2F.113866$qC7.92294@fx11.iad> <slrnqkqv6n.cdo.grahn+nntp@frailea.sa.invalid> <ayf3F.246976$i84.204265@fx34.iad>

Show all headers | View raw


On 10/08/2019 02:36, Scott Lurndal wrote:
> Jorgen Grahn <grahn+nntp@snipabacken.se> writes:
>> On Thu, 2019-08-08, Scott Lurndal wrote:
>>> Jorgen Grahn <grahn+nntp@snipabacken.se> writes:
>>>> On Thu, 2019-08-08, Frederick Gotham wrote:
>>>>>
>>>>> I'm working on a firmware project at the moment, it's running on
>>>>> embedded Linux for a 64-Bit ARM processor (aarch64).
>>>>>
>>>>> There's the main Makefile, which uses "make -C" to invoke further
>>>>> Makefiles in nested subdirectories. Altogether there's four thousand
>>>>> Makefiles.
>>>>
>>>> Someone somewhere should be fired ...
>>>
>>> Why?  Doesn't seem completely out-of-line:
>>>
>>> $ find bootloader firmware -name Makefile | wc -l
>>> 929
>>
>> Because I believe in the Recursive Make Considered Harmful paper:
>> http://aegis.sourceforge.net/auug97.pdf
> 
> That paper has never been convincing to me, nor anyone that I've
> ever worked with, nor any unix or linux os or other large sourcebase
> that I've worked on professionally.

It convinced me long ago...  Recursive Make makes distributed building 
much harder.  My current project code base is modest (about 3,000 source 
files in multiple libraries) but we only have one "makefile".  It isn't 
actually a makefile, we use premake to to generate a ninja build file.

-- 
Ian.

Back to comp.lang.c++ | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Adding compilation arguments to 4000 make files. . . Frederick Gotham <cauldwell.thomas@gmail.com> - 2019-08-08 07:10 -0700
  Re: Adding compilation arguments to 4000 make files. . . Ralf Fassel <ralfixx@gmx.de> - 2019-08-08 17:54 +0200
  Re: Adding compilation arguments to 4000 make files. . . Szyk Cech <szykcech@spoko.pl> - 2019-08-08 18:35 +0200
  Re: Adding compilation arguments to 4000 make files. . . Jorgen Grahn <grahn+nntp@snipabacken.se> - 2019-08-08 19:02 +0000
    Re: Adding compilation arguments to 4000 make files. . . scott@slp53.sl.home (Scott Lurndal) - 2019-08-08 19:56 +0000
      Re: Adding compilation arguments to 4000 make files. . . Jorgen Grahn <grahn+nntp@snipabacken.se> - 2019-08-09 14:01 +0000
        Re: Adding compilation arguments to 4000 make files. . . scott@slp53.sl.home (Scott Lurndal) - 2019-08-09 14:36 +0000
          Re: Adding compilation arguments to 4000 make files. . . Ian Collins <ian-news@hotmail.com> - 2019-08-10 09:43 +1200
          Re: Adding compilation arguments to 4000 make files. . . David Brown <david.brown@hesbynett.no> - 2019-08-10 17:06 +0200
  Re: Adding compilation arguments to 4000 make files. . . Frederick Gotham <cauldwell.thomas@gmail.com> - 2019-08-09 06:46 -0700

csiph-web