"Paul D. Smith" <[EMAIL PROTECTED]>:
> This is obliquely stated in the documentation:
>
> `.SECONDARY'
> The targets which `.SECONDARY' depends on are treated as
> intermediate files, except that they are never automatically
> deleted. *Note Chains of Implicit Rules: Chained Rule
%% Seth M LaForge <[EMAIL PROTECTED]> writes:
sml> (Make version 3.79.) Consider:
sml> % cat Makefile
sml> %.1: %.2
sml> cp $< $@
sml> %.2: %.3
sml> cp $< $@
sml> .SECONDARY:
sml> % ls
sml> Makefile foo.3
sml> % make foo.1
sml> cp foo.3
(Make version 3.79.) Consider:
% cat Makefile
%.1: %.2
cp $< $@
%.2: %.3
cp $< $@
.SECONDARY:
% ls
Makefile foo.3
% make foo.1
cp foo.3 foo.2
cp foo.2 foo.1
rm foo.2
According to the documentation, the .SECONDARY target should cause all
files to be cons