From ce790904ac2c382f82473270fa331177e6004fac Mon Sep 17 00:00:00 2001 From: Kenneth J Davis Date: Sat, 18 Feb 2006 15:14:57 +0000 Subject: [PATCH] add option to ease building with extra WIN3.x compatibility stuff git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/branches/UNSTABLE@1174 6ac86273-5f31-0410-b378-82cca8765d1b --- build.bat | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/build.bat b/build.bat index d9bd41f..5d75ef5 100644 --- a/build.bat +++ b/build.bat @@ -6,7 +6,7 @@ if NOT "%1" == "/?" goto start echo ":-----------------------------------------------------------------------" echo ":- Syntax: BUILD [-r] [fat32|fat16] [msc|wc|tc|tcpp|bc] [86|186|386] " -echo ":- [debug] [lfnapi] [/L #] [/D value] [list] [upx] " +echo ":- [debug] [lfnapi] [/L #] [/D value] [list] [upx] [win] " echo ":- option case is significant !! " echo ":- Note: Open Watcom (wc) is the preferred compiler " echo ":-----------------------------------------------------------------------" @@ -52,6 +52,9 @@ if "%1" == "upx" set XUPX=upx --8086 --best if "%1" == "debug" set ALLCFLAGS=%ALLCFLAGS% -DDEBUG if "%1" == "lfnapi" set ALLCFLAGS=%ALLCFLAGS% -DWITHLFNAPI +if "%1" == "win" set ALLCFLAGS=%ALLCFLAGS% -DWIN31SUPPORT +if "%1" == "win" set NASMFLAGS=%NASMFLAGS% -DWIN31SUPPORT + if "%1" == "list" set NASMFLAGS=%NASMFLAGS% -l$*.lst if "%1" == "/L" goto setLoadSeg @@ -71,6 +74,8 @@ if "%LAST%" == "" goto noenv :- finally - we are going to compile :----------------------------------------------------------------------- +echo USING OPTIONS of C=[%ALLCFLAGS%] ASM=[%NASMFLAGS%] + echo. echo Process UTILS ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ echo.