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


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

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

From David Brown <david.brown@hesbynett.no>
Newsgroups comp.lang.c++
Subject Re: Adding compilation arguments to 4000 make files. . .
Date 2019-08-10 17:06 +0200
Organization A noiseless patient Spider
Message-ID <qimmid$f3t$1@dont-email.me> (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 09/08/2019 16: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.
> 

I have had enough trouble dealing with projects that contain separate 
Makefiles for different parts, yet depend on odd ways across parts, to 
be convinced by the paper.  Far too often I've to do "make clean" before 
a "make" because of badly coordinated sub-makes.

I am sure it is /possible/ to have large systems with recursive makes 
that work well.  Equally, I am sure that often such systems are not done 
well.

>>
>>> If you're also building linux:
>>> $ find linux -name Makefile | wc -l
>>> 2064
>>
>> IIRC, Linux falls into the next category:
>>
>>>> (I'm  assuming you're  not just  seeing the  internals of  cmake or  a
>>>> similar tool auto-generating a gazillion makefiles.)
> 
> You do not recall correctly.  kernel makefiles are not generated.
> 
> scott
> 

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