mirror of
https://github.com/FDOS/kernel.git
synced 2025-07-28 16:24:08 +02:00
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
|
if NOT "%1" == "/?" goto start
|
||||||
echo ":-----------------------------------------------------------------------"
|
echo ":-----------------------------------------------------------------------"
|
||||||
echo ":- Syntax: BUILD [-r] [fat32|fat16] [msc|wc|tc|tcpp|bc] [86|186|386] "
|
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 ":- option case is significant !! "
|
||||||
echo ":- Note: Open Watcom (wc) is the preferred compiler "
|
echo ":- Note: Open Watcom (wc) is the preferred compiler "
|
||||||
echo ":-----------------------------------------------------------------------"
|
echo ":-----------------------------------------------------------------------"
|
||||||
@ -52,6 +52,9 @@ if "%1" == "upx" set XUPX=upx --8086 --best
|
|||||||
if "%1" == "debug" set ALLCFLAGS=%ALLCFLAGS% -DDEBUG
|
if "%1" == "debug" set ALLCFLAGS=%ALLCFLAGS% -DDEBUG
|
||||||
if "%1" == "lfnapi" set ALLCFLAGS=%ALLCFLAGS% -DWITHLFNAPI
|
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" == "list" set NASMFLAGS=%NASMFLAGS% -l$*.lst
|
||||||
|
|
||||||
if "%1" == "/L" goto setLoadSeg
|
if "%1" == "/L" goto setLoadSeg
|
||||||
@ -71,6 +74,8 @@ if "%LAST%" == "" goto noenv
|
|||||||
:- finally - we are going to compile
|
:- finally - we are going to compile
|
||||||
:-----------------------------------------------------------------------
|
:-----------------------------------------------------------------------
|
||||||
|
|
||||||
|
echo USING OPTIONS of C=[%ALLCFLAGS%] ASM=[%NASMFLAGS%]
|
||||||
|
|
||||||
echo.
|
echo.
|
||||||
echo Process UTILS ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
echo Process UTILS ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||||
echo.
|
echo.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user