[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: escape hash mark
From: |
Daniel Neuberger |
Subject: |
Re: escape hash mark |
Date: |
Fri, 19 Aug 2011 14:45:14 -0400 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 |
On 08/19/2011 02:30 PM, Stefano Lattarini wrote:
Does the following works?
HASHMARK = \#
SOMEVAR = "$(HASHMARK)some comment"
SOMEVAR += "other stuff"
Yes, thanks for the tip.
Anyway, consider that there is no portable way to place a literal `#' in
a make variable; for example:
Thanks for the pointer. I think the method I had would be portable, right?
Thanks.
- Daniel