title: Makefile: realpath function on windows for gnu toolchain (yagarto)
body: <p>I am trying to write some makefiles on windows for arm gnu toolchain. (yagarto.de)</p>
  
  <p>But for</p>
  
  <pre><code>MY_LIBC_PATH = $(realpath D:/temp//_latest//../)
  </code></pre>
  
  <p>I get</p>
  
  <pre><code>D:/privat/stm32/eclipse-juno_workspace/yagarto_test/D:/temp
  </code></pre>
  
  <p>My goal is to get only second part(D:/temp), the first part(D:/privat/stm32/eclipse-juno_workspace/yagarto_test/) is my working directory..</p>
  
  <p>I supose realpath is a make function in this case...
  Any idea how to get only <strong>D:/temp</strong>?</p>