title: Makefile modification to support c++11
body: <p>I am able to compile a single file using gcc with -std=c++0x option. But I can't do this through makefile. Here are the set of flags in my makefile (which after make complains about c++11 keywords):</p>
  
  <pre><code>MACHINE = $(shell echo `uname -s`-`uname -m` | sed "s/ //g")
  CCC     = CC
  CCC     = g++
  CFLAGS  = -O3
  CFLAGS  = -std=c++0x
  CFLAGS  = -pg -D_DEBUG -g -c -Wall
  LFLAGS  = -O
  LFLAGS  = -pg -g
  </code></pre>
  
  <p>What am I missing?</p>
  
  <p><strong>Edit</strong>:
  I changed it to the following, but I still get compile errors, which I don't get with command line gcc invocation.</p>
  
  <pre><code>CXXFLAGS=-O3 -std=c++0x -pg -D_DEBUG -g -c -Wall
  </code></pre>