bug-make
[Top][All Lists]
Advanced

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

canned sequences and echo


From: Stefan Seefeld
Subject: canned sequences and echo
Date: Thu, 21 Dec 2000 11:21:07 -0500

hi,

I read in the info pages from make that the '@' token
when used inside a canned sequence only affects the current
line. However, I have a Makefile with these lines:

define compile
@echo "compiling $(@F)"
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(OPTFLAGS) $(SOFLAGS) -c $< -o $@
endef

...

%.o:    $(srcdir)/Sys/%.cc
        $(compile)

and it appears the 'compile' command is never echoed *at all*.
If I remove the '@' from the first line of the 'compile' command,
the second line is echoed, which seems to contradict the docs.
Is this indeed a bug, or am I doing something wrong ?


Regards,        Stefan
_______________________________________________________              
              
Stefan Seefeld
Departement de Physique
Universite de Montreal
email: address@hidden

_______________________________________________________

      ...ich hab' noch einen Koffer in Berlin...



reply via email to

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