title: Makefile fails with c++ compilation
body: <p>I have this Makefile:</p>
  
  <pre><code>TARGET  =   foobar
  CXX     =   g++
  CXXFLAGS =  -Wall -I./inc/
  LINKER  =   $(CXX) -o
  LFLAGS  =   -I./inc/
  
  SRCDIR  =   src
  INCDIR  =   inc
  OBJDIR  =   obj
  BINDIR  =   bin
  
  SOURCES     :=  $(wildcard &amp;(SRCDIR)/*.cpp)
  INCLUDES    :=  $(wildcard $(INCDIR)/*.h)
  OBJECTS     :=  $(SOURCES:$(SRCDIR)/%.cpp=$(OBJDIR)/%.o)
  rm          =   rm -f
  
  $(info SOURCES [${SOURCES}])
  $(info INCLUDES [${SOURCES}])
  $(info OBJECTS [${OBJECTS}])
  
  $(BINDIR)/$(TARGET): $(OBJECTS)
      @$(LINKER) $@ $(LFLAGS) $(OBJECTS)
      @echo "Linking complete!"
  
  $(OBJECTS): $(OBJDIR)/%.o : $(SRCDIR)/%.cpp
      @$(CXX) $(CXXFLAGS) -c $&lt; -o $@
      @echo "Compiled "$&lt;" successfully"
  
  .PHONY: clean
  clean:
      @$(rm) $(OBJECTS)
      @echo "Cleanup complete!"
  
  .PHONE: remove
  remove: clean
      @$(rm) $(BINDIR)/$(TARGET) 
      @echo "Exacutable removed!"
  </code></pre>
  
  <p>My folder structure is:</p>
  
  <pre><code>src/somesources.cpp
  inc/somesources.h
  obj/
  bin/
  Makefile
  </code></pre>
  
  <p>This makefile works flawless with c files, but I'm having problems with c++. Can someone tell the difference between c and c++ and where I'm wrong? The output message I get is:</p>
  
  <pre><code>SOURCES []
  INCLUDES []
  OBJECTS []
  g++: fatal error: no input files
  compilation terminated.
  </code></pre>