[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [help-gengetopt] gengetopt and gmake

From: Kevin Musker
Subject: Re: [help-gengetopt] gengetopt and gmake
Date: Wed, 6 Sep 2006 14:33:37 +0100

This succeeds in building the targets, but only because when it looks
for either of the files, both are created.

This causes problems at the end, when gmake deletes all intermediate
files. Because it didn't generate some
of them, they just appeared (in the case of one of the .c files -
produced from applying the rule to a required getopt
header), then gmake thinks that it existed all along, and so it doesn't
delete the file upon completion.

I know it's a really picky case, but if these generated files end up
lying around, they will get checked into the
source repository...



On 11:58, Kevin Musker wrote:
> Probably better belongs on a gmake list... but...
> This isn't possible with an implicit rule though is it?
> For example:
> %.h %.c: %.ggo
>      gengetopt ...

Sure it is, just try :)


The only person who always got his work done by Friday was Robinson
(See attached file: signature.asc)
Help-gengetopt mailing list

Attachment: signature.asc
Description: Binary data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]