Revision 1327

trunk/scripts/admb/admb.bat (revision 1327)
23 23
if not "!MINGW_HOME!"=="" (
24 24
  set PATH=!ADMB_HOME!\bin;!MINGW_HOME!\bin;!PATH!
25 25
) else (
26
  set PATH=!ADMB_HOME!\bin;!PATH!
26
  set PATH=!ADMB_HOME!\bin;!ADMB_HOME!\utilities\mingw\bin;!PATH!
27 27
)
28 28

  
29 29
set srcs=
trunk/src/GNUmakefile (revision 1327)
20 20
  DISK=..\build\dist
21 21
  LIBPATH=..\build\objects\dist
22 22
  PWD=$(shell cd)
23
  ifndef NO_UTILITIES
24
  PATH:=..\utilities\mingw\bin;..\utilities;$(PATH)
23
  ifdef MINGW_HOME
24
    PATH:=$MINGW_HOME\bin;..\utilities;$(PATH)
25
  else
26
    PATH:=..\utilities\mingw\bin;..\utilities;$(PATH)
25 27
  endif
26 28
else
27 29
  DISK=../build/dist
......
364 366
  else
365 367
	echo set ADMB_CFG_LDFLAGS=$(LDFLAGS) >> ${DISK}\bin\admb-cfg.bat
366 368
  endif
369
  ifdef MINGW_HOME
370
	echo set MINGW_HOME=$MINGW_HOME >> ${DISK}\bin\admb-cfg.bat
371
  endif
367 372
	$(MAKE) --directory=df1b2-separable CC=$(CC) DISKDIR=..\${DISK} bins
368 373
	$(MAKE) --directory=nh99 CC=$(CC) DISKDIR=..\${DISK} bins
369 374
	copy ..\scripts\mingw\set-admb-mingw.bat ${DISK}\bin

Also available in: Unified diff