Programmer's WorkBench (pwb.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Reserved Build Macros
                                             Up Contents Index Back
─────Programmer's WorkBench─────────────────────────────────────────────────
 
     PWB reserves the following macros for its use in project makefiles.
     You can use reserved macros freely, but you should not redefine
     them for another purpose.
 
     Macro          Description
 
     DEBUG          Defined to be 0 when using release options, and 1
                    when using debug options. Set by the option buttons
                    in the Build Options dialog box.
 
     NMFLAGS        NMAKE options specified by using the NMAKE Options
                    command from the Options menu.
 
                    Note that NMAKE does not use these options when you
                    pass the makefile to NMAKE outside PWB.
 
     ORIGIN         Name of the program that created the makefile.
 
     ORIGIN_VER     Version number of the makefile's creator.
 
     PROJ           Base name of the project.
 
     PROJFILE       Name of the project makefile.
 
     RUNFLAGS       Program arguments set by the Program Arguments
                    command from the Run menu.
 
     See
 
     How PWB Creates a Project Makefile
                                    -♦-