title: How can I write a mingw-make makefile on Windows?
body: <p>I am new to using GNU make. I have a makefile as below:</p>
  
  <pre><code>CFLAGS = -c -I $(WXWIN)\include\
  
  hello: main.o
  
  main.o:main.cpp
  
      gcc -c main.cpp
  
  clean:
  
      rm main.o
  </code></pre>
  
  <p>When I run make command in console it can't find the header file "wx/wx.h". Its location: <code>$(WXWIN)=D:\wxWidgets\</code></p>