multiple makefiles

Ryan Schmidt ryandesign at macports.org
Tue Dec 18 03:43:15 UTC 2018


On Dec 16, 2018, at 19:59, Joshua Root wrote:

> On 2018-12-17 06:20 , Mark Brethen wrote:
>> Is it possible to build a makefile in multiple directories without overriding the build phase, for example from ${worksrcdir}
>> 
>> make src/Makefile um/Makefile
>> 
>> with build.cmd?
> 
> The usual solution is another Makefile in the parent directory that runs
> those two. One invocation of make won't use two different Makefiles.

Here's an example of that:

https://github.com/macports/macports-ports/blob/master/math/lp_solve/files/Makefile



More information about the macports-dev mailing list