title: Makefile unable to compile file
body: <p>Netbeans 7.3
  gcc 4.5.3</p>
  
  <p>I've looked at some of the answers to this question but I don't see my specific case. </p>
  
  <p>The makefile generated by Netbeans seems to be correct. The output given in the Netbeans terminal window gives a <code>No rule to make target ReadList.cpp</code> , which seems to be wrong. I can't figure out what's going on.</p>
  
  <p>The output window shows:</p>
  
  <pre><code>"/usr/bin/make" -f nbproject/Makefile-Debug.mk QMAKE= SUBPROJECTS= .build-conf
  make[1]: Entering directory `/c/home/skidmarks/Projects/SLIP/slip'
  "/usr/bin/make"  -f nbproject/Makefile-Debug.mk dist/Debug/Cygwin_4.x-Windows/slip.exe
  make[2]: Entering directory `/c/home/skidmarks/Projects/SLIP/slip'
  make[2]: *** No rule to make target `ReadList.cpp', needed by `build/Debug/Cygwin_4.x-Windows/ReadList.o'.  Stop.
  make[2]: Leaving directory `/c/home/skidmarks/Projects/SLIP/slip'
  nbproject/Makefile-Debug.mk:94: recipe for target `.build-conf' failed
  make[1]: *** [.build-conf] Error 2
  make[1]: Leaving directory `/c/home/skidmarks/Projects/SLIP/slip'
  nbproject/Makefile-impl.mk:39: recipe for target `.build-impl' failed
  make: *** [.build-impl] Error 2
  
  
  BUILD FAILED (exit value 2, total time: 375ms)
  </code></pre>
  
  <p>The makefile used shows:</p>
  
  <pre><code>${OBJECTDIR}/SlipReadList.o: SlipReadList.cpp 
      ${MKDIR} -p ${OBJECTDIR}
      ${RM} $@.d
      $(COMPILE.cc) -g -w -MMD -MP -MF $@.d -o ${OBJECTDIR}/SlipReadList.o SlipReadList.cpp
  </code></pre>
  
  <p>The makefile appears correct and works for other files. I have verified that the .cpp and .h files are in the same directory and are in the same directory as other successfully compiled files. Anyone have an idea what's wrong?</p>