Re: gengetopt and gmake

"Kevin Musker" <[email protected]>
Newsgroups gmane.comp.gnu.gengetopt.general
Message-ID <[email protected]>
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...

Thanks,

Kev.



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 :)

Andre

--
The only person who always got his work done by Friday was Robinson
Crusoe
(See attached file: signature.asc)
_______________________________________________
Help-gengetopt mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gengetopt

_______________________________________________
Help-gengetopt mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gengetopt
signature.asc (application/octet-stream, 196 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFE/rOtWto1QDEAkw8RAjH0AJsHmxzKewm16WbdjF+82iZ0PjD3mQCcCS5D
5noBgOXjhwfp4PIZKYFexfc=
=Ek2X
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.