GNU Info

Info Node: (nasm.info)Section 2.1.11

(nasm.info)Section 2.1.11


Next: Section 2.1.12 Prev: Section 2.1.10 Up: Section 2.1
Enter node , (file) or (file)node

2.1.11. The `-p' Option: Pre-Include a File
-------------------------------------------

   NASM allows you to specify files to be _pre-included_ into your
source file, by the use of the `-p' option. So running

     nasm myfile.asm -p myinc.inc

   is equivalent to running `nasm myfile.asm' and placing the directive
`%include "myinc.inc"' at the start of the file.

   For consistency with the `-I', `-D' and `-U' options, this option
can also be specified as `-P'.


automatically generated by info2www version 1.2.2.9