title: make won't build but g++ compiles fine
body: <p>I have a program which includes some SDL headers, but since I reinstalled windows make does not work anymore. It says that the include headers are not found. Running g++ with the exact output of make works fine.</p>
  
  <p>I am running windows 10 with mingw to play around with some c++. I've written a small mcve to illustrate my problem. If I build with make this happens:</p>
  
  <pre><code>D:\TESTING\test&gt;mingw32-make all
  g++ *pp -ID:\LIBS\testlib -o test.exe
  test.cpp:1:10: fatal error: t.h: No such file or directory
  #include &lt;t.h&gt;
        ^~~~~
  compilation terminated.
  Makefile:6: recipe for target 'all' failed
  mingw32-make: *** [all] Error 1
  </code></pre>
  
  <p>But if I run the output of make directly:</p>
  
  <pre><code> g++ *pp -ID:\LIBS\testlib -o test.exe
  </code></pre>
  
  <p>The program compiles fine.</p>
  
  <p>Here is the cpp code:</p>
  
  <pre><code>#include &lt;t.h&gt;
  int main(int argc, char * args[]) {
  std::cout &lt;&lt; t &lt;&lt;std::endl;
  }
  </code></pre>
  
  <p>The header file (in D:\LIBS\testlib):</p>
  
  <pre><code>#include &lt;iostream&gt;
  #include &lt;string&gt;
  std::string t = "meh";
  </code></pre>
  
  <p>And the Makefile:</p>
  
  <pre><code>CC=g++
  OBJS = *pp
  INCLUDE_PATHS = -ID:\LIBS\testlib
  OBJ_NAME = test.exe
  all : $(OBJS)
      $(CC) $(OBJS) $(INCLUDE_PATHS) -o $(OBJ_NAME)
  </code></pre>