title: GNU makefile how to and when to quote strings
body: <p>How and when do I quote a string in a make file? What is best practice?</p>
  
  <p>Is the following the way to quote?</p>
  
  <pre><code>$(warning  $(shell ls -ld "$(CURDIR)" ) )
  </code></pre>
  
  <p>I'm familiar with Bash where you usually quote variables to allow for embedded spaces. Do you do such in a makefile?</p>
  
  <p>How should I do assignment statements with a string?</p>
  
  <pre><code>vara := "$(CURDIR)"
  
  varb := $(CURDIR)
  
  varc := /home/me/source
  
  vard := "/home/me/source"
  </code></pre>
  
  <p>What about the space after the equal?</p>