Revision 1406 trunk/src/GNUmakefile

GNUmakefile (revision 1406)
1 1
ifeq ($(OS),Windows_NT)
2
  ifeq ($(SHELL),sh.exe)
3
    PWD=$(shell cd)
4
    ifdef MINGW_HOME
5
      PATH:=$(MINGW_HOME)\bin;$(PATH)
2
  ifneq (,$(findstring sh.exe,$(SHELL)))
3
    ifeq ($(SHELL),sh.exe)
4
      PWD=$(shell cd)
5
      ifdef MINGW_HOME
6
        PATH:=$(MINGW_HOME)\bin;$(PATH)
7
      else
8
        PATH:=$(PWD)\..\utilities\mingw\bin;$(PATH)
9
      endif
10
      PATH:=$(PATH);$(PWD)\..\utilities
6 11
    else
7
      PATH:=$(PWD)\..\utilities\mingw\bin;$(PATH)
12
      PWD=$(shell cmd /C cd)
13
      ifdef MINGW_HOME
14
        PATH:=$(MINGW_HOME)\bin;$(PATH)
15
      else
16
        PATH:=$(PWD)\..\utilities\mingw\bin;$(PATH)
17
      endif
18
      PATH:=$(PATH);$(PWD)\..\utilities
8 19
    endif
9
    PATH:=$(PATH);$(PWD)\..\utilities
10 20
  else
11 21
    PWD=$(shell pwd)
12 22
    ifdef MINGW_HOME

Also available in: Unified diff