
\Svax\S:  Examples

               if u3b15
                  then cc -Du3b15 format.c -o format.o
               elif vax
                  then cc -Dvax format.c -o format.o
               fi

    This shell program compiles the program in the file "format.c".  It
    puts a compiled version in "format.o".  This program checks if the
    computer is an AT&T 3B15 computer or VAX-11/750 or VAX-11/780.  If the
    machine is a VAX-11/750 or VAX-11/780 the second compile command
    compiles "format.c".  The "Dvax" option to cc(1) causes only the
    machine-dependent lines that pertain to the VAX-11/750 and VAX-11/780
    machines to be executed so that "format.o" is correct for the machine
    it is compiled on.  See the manual page for cpp(1) for an explanation
    of the "D" option.

