Jacob Bachmeyer <jcb62...@gmail.com> writes:

> You seem to be recording the names tried during a path search instead of the
> files that actually exist.  That will not work because make requires every
> listed dependency of a target to exist.

Yes, that is exactly what I am doing, based on the following quote from
(automake-history)Recommendations for Tool Writers:

--8<---------------cut here---------------start------------->8---
Finally, the tool should generate a dependency for each probe, instead
of each successful file open, in order to avoid the duplicated new
header bug.
--8<---------------cut here---------------end--------------->8---

I probably misunderstood it.  I will re-read the chapter 2 and try
again.

> A crazy option occurs to me, but I think it only works in GNU make:  
> $(wildcard
> ...) effectively filters a list of files to only those that actually exist.

I am still at least trying to stick to POSIX make, but will keep this as
an option, thank you. :)

> [..]
>
> Just my guesses towards a solution,

Thank you, it is much appreciated. ^_^

Tomas

-- 
There are only two hard things in Computer Science:
cache invalidation, naming things and off-by-one errors.

Attachment: signature.asc
Description: PGP signature

Reply via email to