bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

make 3.79.1: leading "@" and canned sequences


From: Scott McPeak
Subject: make 3.79.1: leading "@" and canned sequences
Date: Wed, 29 May 2002 08:41:08 -0700 (PDT)

The Make manual, "Canned sequences of commands", states:

  For example, using this canned sequence:

  define frobnicate
  @echo "frobnicating target $@"
  frob-step-1 $< -o address@hidden
  frob-step-2 address@hidden -o $@
  endef

  make will not echo the first line, the echo command. But it will
  echo the following two command lines.

However, make-3.79.1 fails to echo either of the frob-step-N
commands.

Attached is the Makefile I used.  I added dummy frob-step-{1,2}
commands to my PATH, and run make, and the only output is

  frobnicating target canit

whereas I expect

  frobnicating target canit
  frob-step-1  -o canit-step-1
  frob-step-2 canit-step-1 -o canit

My system is Linux/x86 2.2.19, glibc 2.2.3.

-Scott

Attachment: Makefile
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]