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
This commit is contained in:
parent
439e5f37dd
commit
ce790904ac
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user