On Sat, Jun 21, 2025 at 1:38 PM WaitronCharm <waitronch...@proton.me> wrote:
>
> Are you guys also reading this line as the relevant argument applying to my 
> case:
>
> https://pubs.opengroup.org/onlinepubs/9799919799/utilities/make.html
>
> 'Include lines and rules for creating dynamic include files do not depend 
> [directly or indirectly] on the contents of any earlier dynamic include file.'
>
> My case is: two include files, both dynamic with targets and recipes (targets 
> A and B), a third non-include file (target C). A is producing the recipe for 
> C, and B has C as prerequisite.

Yes, that is saying that since the rule (what is actually done) for t4
depends on the contents of t2, your makefile setup is not portable to
all POSIX implementations of make (in particular, those that implement
the "delayed remaking" method such as GNU make).


> (Sorry for quoting POSIX on a GNU list.)

Eh?  The GNU community has historically been quite active in the POSIX
standardization process.  Paul helped craft the requirements for the
delayed remaking method, such that it permits the behavior of GNU
make.


Philip Guenther

Reply via email to