Wednesday, 21 August 2013

How to NOT print in the output a comment in a makefile

How to NOT print in the output a comment in a makefile

I have a makefile that is like this:
install:
@somecommand
#some explanation for next command
@lastcommand
What happens is that the comment #some explanation for next command is
being printed when I execute make install. How can I make a comment in a
makefile that doesn't get printed?
(Effectively, the opposite of this question.)
PS: This is actually a Makefile.am (not pure Makefile).

No comments:

Post a Comment