"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
(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
(Make version 3.79.) Consider this Makefile:
%.1 %.2: %.src
cp $< $*.1
cp $< $*.2
Create a file sub/foo.src and 'make -Rp sub/foo.1'. Here's
an excerpt from the output:
# Not a target:
sub/foo.1: sub/foo.src
# Command-line target.
# Implicit rule search has bee