path: root/doc
diff options
authorH. Peter Anvin <hpa@zytor.com>2017-08-16 21:14:33 -0700
committerH. Peter Anvin <hpa@zytor.com>2017-08-16 21:14:33 -0700
commit77c9bf6cd86c90fad8554eb49b11e94b4663b6ff (patch)
treeee4c3df9f761d31af60d9c0f87bd60a2d07c6a0d /doc
parentdd47d57e4da6f5ab12e75d81b34f735be5f3cc68 (diff)
nasm: new option -MW to emit Watcom-style Makefile rules
Allow NASM to generate Watcom-style Makefile dependencies, in addition to the default POSIX-style Makefile dependencies. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'doc')
2 files changed, 14 insertions, 0 deletions
diff --git a/doc/changes.src b/doc/changes.src
index 401e94c9..d89c4e70 100644
--- a/doc/changes.src
+++ b/doc/changes.src
@@ -7,6 +7,11 @@
The NASM 2 series supports x86-64, and is the production version of NASM
since 2007.
+\S{cl-2.13.02} Version 2.13.02
+\b Option \c{-MW} to quote dependency outputs according to Watcom
+ Make conventions. See \k{opt-MW}.
\S{cl-2.13.01} Version 2.13.01
\b Fix incorrect output for some types of \c{FAR} or \c{SEG}
diff --git a/doc/nasmdoc.src b/doc/nasmdoc.src
index 370bba4b..a74503c2 100644
--- a/doc/nasmdoc.src
+++ b/doc/nasmdoc.src
@@ -60,6 +60,7 @@
\IR{-MP} \c{-MP} option
\IR{-MQ} \c{-MQ} option
\IR{-MT} \c{-MT} option
+\IR{-MW} \c{-MW} option
\IR{-O} \c{-O} option
\IR{-P} \c{-P} option
\IR{-U} \c{-U} option
@@ -518,6 +519,14 @@ each header file. This prevents Make from complaining if a header
file has been removed.
+\S{opt-MW} The \i\c{-MW} Option: Watcom Make quoting style
+This option causes NASM to attempt to quote dependencies according to
+Watcom Make conventions rather than POSIX Make conventions (also used
+by most other Make variants.) This quotes \c{#} as \c{$#} rather than
+\c{\\#}, and uses \c{&} rather than \c{\\} for continuation lines.
\S{opt-F} The \i\c{-F} Option: Selecting a \i{Debug Information Format}
This option is used to select the format of the debug information