Revision 1355 trunk/src/GNUmakefile

GNUmakefile (revision 1355)
5 5
ifeq ($(OS),Windows_NT)
6 6
  ifndef TERM
7 7
    TERMINAL=dos
8
    SHELL=cmd
9 8
  endif
10 9
endif
11 10

  
12 11
ifeq ($(TERMINAL),dos)
12
  SHELL=cmd
13 13
  DISK=..\build\dist
14 14
  LIBPATH=..\build\objects\dist
15 15
  PWD=$(shell cd)
16 16
  ifdef MINGW_HOME
17
    PATH:=$MINGW_HOME\bin;..\utilities;$(PATH)
17
    PATH:=$(MINGW_HOME)\bin;$(PWD)\..\utilities;$(PATH)
18 18
  else
19
    PATH:=..\utilities\mingw\bin;..\utilities;$(PATH)
19
    PATH:=$(PWD)\..\utilities\mingw\bin;$(PWD)\..\utilities;$(PATH)
20 20
  endif
21 21
else
22 22
  DISK=../build/dist
......
372 372
	copy ..\utilities\libiconv2.dll ${DISK}\bin
373 373
	copy ..\utilities\libintl3.dll ${DISK}\bin
374 374
	copy ..\utilities\regex2.dll ${DISK}\bin
375
	copy ..\scripts\admb\adcomp.bat ${DISK}\bin
376
	copy ..\scripts\admb\adlink.bat ${DISK}\bin
377
	copy ..\scripts\admb\admb.bat ${DISK}\bin
378
	copy ..\scripts\admb\root-admb.bat ..\admb.bat
379
	copy ..\scripts\admb\root-admb.bat ${DISK}\admb.bat
375
	copy ..\scripts\admb\adcomp.bat ${DISK}\bin\adcomp.cmd
376
	copy ..\scripts\admb\adlink.bat ${DISK}\bin\adlink.cmd
377
	copy ..\scripts\admb\admb.bat ${DISK}\bin\admb.cmd
378
	copy ..\scripts\admb\root-admb.bat ..\admb.cmd
379
	copy ..\scripts\admb\root-admb.bat ${DISK}\admb.cmd
380 380
else
381 381
	mkdir -p ${DISK}/bin
382 382
	cp df1b2-separable/seddf1b* df1b2-separable/sedf1b2* ${DISK}/bin
......
454 454
	if exist ..\build rd /S /Q ..\build
455 455
	if exist ..\admb del ..\admb
456 456
	if exist ..\admb.bat del ..\admb.bat
457
	if exist ..\admb.cmd del ..\admb.cmd
457 458
	if exist ..\admb.zip del ..\admb.zip
458 459
	if exist nh99\lex.yy.c del nh99\lex.yy.c
459 460
	if exist df1b2-separable\lex.yy.c del df1b2-separable\lex.yy.c
......
472 473
	@$(MAKE) --directory=../tests clean
473 474
	@rm -f ../admb
474 475
	@rm -f ../admb.bat
476
	@rm -f ../admb.cmd
475 477
	@rm -f ../admb.zip
476 478
	@rm -f ../REVISION
477 479
endif
480

  
481
check:
482
	@echo "OS: $(OS)"
483
	@echo "TERM: $(TERM)"
484
	@echo "PATH: $(PATH)"
485
	@echo "MINGW_HOME: $(MINGW_HOME)"

Also available in: Unified diff