title: How to write paths in Makefile for Windows
body: <p>I'm running Windows 10 and am trying to write a Makefile to compile a C++ file that uses the SFML library as well as the <a href="https://github.com/Immediate-Mode-UI/Nuklear" rel="nofollow noreferrer">nuklear</a> libraries. I have MinGW installed and added to my PATH, and I also have GNU Make installed and added to my PATH. So I can call both <code>make</code> and <code>gcc</code> from a Command Prompt window.</p>
  
  <p>The Makefile I'm editing is:</p>
  
  <pre><code># Install
  CC = gcc
  BIN = demo
  
  # Flags
  CFLAGS += -s -O2
  
  SRC = main.cpp
  OBJ = $(SRC:.cpp=.o)
  
  # Edit the line below to point to your SFML folder on Windows
  SFML_DIR = C:/SFML-2.5.1/
  
  BIN := $(BIN).exe
  LIBS = -lmingw32 -DSFML_STATIC -lsfml-window-s -lsfml-system-s -lopengl32 -lwinmm -lgdi32
  
  SFML_INC = -I $(SFML_DIR)/include
  SFML_LIB = -L $(SFML_DIR)/lib
  
  $(BIN):
      $(CC) $(SRC) $(CFLAGS) -o $(BIN) $(SFML_INC) $(SFML_LIB) $(LIBS)
  </code></pre>
  
  <p>But as per the <a href="https://github.com/Immediate-Mode-UI/Nuklear#building" rel="nofollow noreferrer">nuklear documentation</a>, I need to include <code>nuklear.h</code> in the Makefile. <strong>For my project, I have a directory called <code>include</code> which contains <code>nuklear.h</code>.</strong> The full path is similar to:</p>
  
  <pre><code>C:/Users/Me/Github Repositories/folder-1/folder-2/include/
  </code></pre>
  
  <p>So I make the following additions to the Makefile:</p>
  
  <pre><code>SFML_DIR = C:/SFML-2.5.1/
  INCL_DIR = C:/Users/Me/Github Repositories/folder-1/folder-2/include/
  
  $(BIN):
      # $(CC) $(SRC) $(CFLAGS) -o $(BIN) $(SFML_INC) $(SFML_LIB) $(LIBS)
      $(CC) $(SRC) $(CFLAGS) -o $(BIN) -I $(INCL_DIR) $(SFML_INC) $(SFML_LIB) $(LIBS)
  </code></pre>
  
  <p>I added the path to <code>nuklear.h</code> and have asked included it in compilation by specifying the <code>-I</code> flag. But I get the following error when I run <code>Make</code>:</p>
  
  <pre><code>makefile:23: *** missing separator.  Stop.
  </code></pre>
  
  <p>Now, there's a space in the path ("Github Reposities"). So I believe I need to add quotation marks to include the full path.</p>
  
  <p>But when I add quotation marks to the full path, I get the following error:</p>
  
  <pre><code>make: *** No rule to make target `/Users/Me/Github', needed by `demo.exe'.  Stop.
  </code></pre>
  
  <p>So I'm missing something when it comes to specifying paths in a Makefile on Windows. How can I add a complete path in my Makefile when the path contains spaces?</p>