title: Makefile seems to ignore flags. Why?
body: <p>It seems like make is ignoring my cflag options, as the compiler complains that I need to have <code>-std=c++11</code> as a flag, but that option is included in my makefile.</p>
  
  <pre><code>CC=g++
  # Flags for the C compiler
  CXX_FLAGS= \
      -Wall \
      -std=c++11 \
      -O2
  # Linker Flags
  LD_FLAGS= 
  
  # Sources to compile
  SOURCES=main.cpp
  OBJECTS=$(SOURCES:.cpp=.o)
  EXE=HolidayLights.out
  
  all: $(SOURCES) $(EXE)
  
  # Primary build target
  $(EXE): $(OBJECTS)
      $(CC) $(LD_FLAGS) $(OBJECTS) -o $@
  
  .o:
      $(CC) -c $(CXX_FLAGS) -o $@ $&lt;
  </code></pre>
  
  <p>The output of the build commands of this makefile are:</p>
  
  <pre><code>g++     -c -o main.o main.cpp
  </code></pre>
  
  <p>I don't understand why it's not listing my flags in the output. Also, I know for a fact that it is ignoring <code>-std=c++11</code> flag as it complains about non-static constant member, and it shouldn't with that flag enabled.</p>
  
  <p>Edit0: Notation change</p>