title: makefile cant find .o files
body: <p>I'm very new to make files but after looking through a bunch of sources I cant find out why my make file is not working, it is for C++ and stated as below.</p>
  
  <pre><code>CC=g++
  CFLAGS=-g -Wall -pedantic -ansi
  SOURCES=commercial.cpp comRentals.cpp comSales.cpp property.cpp rentals.cpp residential.cpp resRentals.cpp resSales.cpp sales.cpp testPropertyA.cpp utility1.cpp
  OBJECTS=$(SOURCES:.cpp=.o)
  TARGET = runme
  
  all: $(TARGET)
  
  $(TARGET): $(OBJECTS) 
      $(CC) $(CFLAGS) -o $(TARGET) $(OBJECTS)
  
  .cpp.o:
      $(CC) $(CFLAGS) -c $&lt; -o $@
  
  .PHONY: clean
  clean:
      -del $(OBJECTS) $(TARGET).exe
  </code></pre>
  
  <p>It is constantly saying the following when run from windows 7 commandline</p>
  
  <pre><code>C:\Users\Stat Phantom\Desktop\UNIVERSITY\C++\Assignment1\StartUpCode\TaskA&gt;make
  g++ -g -Wall -pedantic -ansi -c commercial.cpp -o commercial.o
  process_begin: CreateProcess(NULL, g++ -g -Wall -pedantic -ansi -c commercial.cp
  p -o commercial.o, ...) failed.
  make (e=2): The system cannot find the file specified.
  make: *** [commercial.o] Error 2
  </code></pre>
  
  <p>no idea what is happening here, help please, it is probably something very simple.</p>
  
  <p>UPDATE: removed the included tags and added $@ to .cpp.o: however same error is occuring  </p>