>
>
>
> Another option is using .SECONDARY pseudo-target (for GNU Make). From
> the manual:
>
>    The targets which .SECONDARY depends on are treated as intermediate
>    files, except that they are never automatically deleted.
>
>
No, it's fine to do multiple runs -- they're fast enough.  And besides, I
wouldn't have it that way in a Makefile that I was using for real: this was
in Makefile used to communicate how to execute a test-case, and the purpose
of the "clean" was to ensure that no extraneous files were consulted during
a test-run.  And finally, it seems that leaving those intermediate files
around caused a different error anyway.

Reply via email to