mirror of https://github.com/FDOS/kernel.git
add build switch to generate list files from (NASM) assembly source
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/branches/UNSTABLE@1102 6ac86273-5f31-0410-b378-82cca8765d1b
This commit is contained in:
parent
2fc18e7c33
commit
0bf49a24b7
|
@ -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] "
|
||||
echo ":- [debug] [lfnapi] [/L #] [/D value] [list] "
|
||||
echo ":- option case is significant !! "
|
||||
echo ":- Note: Open Watcom (wc) is the preferred compiler "
|
||||
echo ":-----------------------------------------------------------------------"
|
||||
|
@ -50,6 +50,8 @@ if "%1" == "x86" goto setCPU
|
|||
if "%1" == "debug" set ALLCFLAGS=%ALLCFLAGS% -DDEBUG
|
||||
if "%1" == "lfnapi" set ALLCFLAGS=%ALLCFLAGS% -DWITHLFNAPI
|
||||
|
||||
if "%1" == "list" set NASMFLAGS=%NASMFLAGS% -l$*.lst
|
||||
|
||||
if "%1" == "/L" goto setLoadSeg
|
||||
if "%1" == "/D" goto setDefine
|
||||
|
||||
|
|
|
@ -82,6 +82,7 @@ if "%LAST%" == "1" goto end
|
|||
:clearset
|
||||
|
||||
set NASM=
|
||||
set NASMFLAGS=
|
||||
set COMPILER=
|
||||
set BASE=
|
||||
set BINPATH=
|
||||
|
|
Loading…
Reference in New Issue