Port: Windows NT 4.0 , compiled with Visual C++ 6.0
GNAKE version: GNU Make version 3.79.1, by Richard Stallman and Roland
McGrath.

Basically, I am finding that turning echo off in a canned command sequence
as follows appears to prevent the echoing of the remainder of the commands
in the sequence

For example:

        define COPY_DEP_TO_TARGET
                echo **
                echo ** Copying $< to $@
                echo **
        endef

will echo each command as well as the output, however

        define COPY_DEP_TO_TARGET
                @echo **
                echo ** Copying $< to $@
                echo **
        endef

will prevent the echo of every command following the @ symbol.

It looks like the canned sequence is treated as a single command rather than
a set of commands by the processor. This happens for nested canned sequences
as well. This doesn't match the behaviour as described on section 5.7 of the
manual (v3.79)

Cheers,
Bijal


_______________________________________________
Bug-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-make

Reply via email to