title: C++ Makefile Can't Find Files
body: <p>So I have run into an odd issue with makefiles using mingw's mingw32-make. I've scoured about and I'm clueless. It looks like this is a path issue where make is not looking into the correct folder, but I could be wrong..</p>
  
  <p>I have configured it to run via nppexec so I am using this macro</p>
  
  <pre><code>mingw32-make.exe -f "$(CURRENT_DIRECTORY)\$(NAME_PART)$(EXT_PART)"
  </code></pre>
  
  <p>Which gives..</p>
  
  <pre><code>mingw32-make.exe: *** No rule to make target 'main.cpp', needed by 'main.o'.  Stop.
  </code></pre>
  
  <p>makefile.mak (I know it dosen't need an extension)</p>
  
  <pre><code>CPP = g++.exe 
  CFLAGS = -g -Wall
  
  all: sortA4
  
  sortA4: main.o Sortings.o
  $(CPP) $(CFLAGS) -o sortA4 main.o Sortings.o
  
  main.o: main.cpp Sortings.h
  $(CPP) $(CFLAGS) -c main.cpp
  
  Sortings.o: Sortings.cpp Sortings.h
  $(CPP) $(CFLAGS) -c Sortings.cpp
  
  #clean: &gt;&gt;&gt;temp removed for debugging
  #   $(RM) count *.o *~
  </code></pre>