makew32.bat 791 Bytes
Newer Older
1
@echo off
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
rem $LynxId: makew32.bat,v 1.5 2012/07/05 23:34:52 tom Exp $
setlocal

rem Check if GW32_ROOT is defined, and if not, fill in a default value.

	if not "x%GW32_ROOT%"=="x" goto exists
	set GW32_ROOT=c:\app\gnuwin32
:exists

	if exist "%GW32_ROOT%" goto doit
	echo ? %GW32_ROOT% does not exist
	goto finish

:doit
rem	if     exist %GW32_ROOT%\bcblibs set PATH=%PATH%;%GW32_ROOT%\bcblibs
rem	if not exist %GW32_ROOT%\bcblibs set PATH=%PATH%;%GW32_ROOT%\bin
	set PATH=%PATH%;%GW32_ROOT%\bin

20 21 22 23 24 25
rem Borland C
rem    -m                Displays the date and time stamp of each file
rem    -c                Caches auto-dependency information
make.exe -m -c -f makefile.bcb %1 %2
REM make.exe -m -c -f makefile.deb
REM make.exe -f makefile.win
26 27 28

:finish
endlocal