1@echo off
2rem $LynxId: makew32.bat,v 1.5 2012/07/05 23:34:52 tom Exp $
3setlocal
4
5rem Check if GW32_ROOT is defined, and if not, fill in a default value.
6
7	if not "x%GW32_ROOT%"=="x" goto exists
8	set GW32_ROOT=c:\app\gnuwin32
9:exists
10
11	if exist "%GW32_ROOT%" goto doit
12	echo ? %GW32_ROOT% does not exist
13	goto finish
14
15:doit
16rem	if     exist %GW32_ROOT%\bcblibs set PATH=%PATH%;%GW32_ROOT%\bcblibs
17rem	if not exist %GW32_ROOT%\bcblibs set PATH=%PATH%;%GW32_ROOT%\bin
18	set PATH=%PATH%;%GW32_ROOT%\bin
19
20rem Borland C
21rem    -m                Displays the date and time stamp of each file
22rem    -c                Caches auto-dependency information
23make.exe -m -c -f makefile.bcb %1 %2
24REM make.exe -m -c -f makefile.deb
25REM make.exe -f makefile.win
26
27:finish
28endlocal
29