From 0bf49a24b749c49a8f0548f71e2597175aef85e3 Mon Sep 17 00:00:00 2001 From: Kenneth J Davis Date: Sat, 29 Jan 2005 20:30:28 +0000 Subject: [PATCH] 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 --- build.bat | 4 +++- defaults.bat | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/build.bat b/build.bat index 27f2c54..b994671 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] " +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 diff --git a/defaults.bat b/defaults.bat index 13d3313..163ac97 100644 --- a/defaults.bat +++ b/defaults.bat @@ -82,6 +82,7 @@ if "%LAST%" == "1" goto end :clearset set NASM= +set NASMFLAGS= set COMPILER= set BASE= set BINPATH=