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: [EMAIL PROTECTED]

_______________________________________________________

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

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

Reply via email to