                           SAMPLES.TXT

          Notes on Sample Programs Included with CMAKE 1.00

     *** SAMPLES\C:

         Demonstrates how to use CMAKE to maintain an MS-DOS(R)
         application that is built with the programs: CL, LIB, and
         LINK.

         README.TXT      Notes for this sample
         MAKEFILE        Make file for "message.lib" and "greeting.exe"
         GREETING.C      Program to print "Hello World"
         HELLO.C         Function to print "Hello"
         WORLD.C         Function to print "World"
         GREETING.H      Include file for "greeting.c"
         HELLO.H         Include file for "hello.c"
         WORLD.H         Include file for "world.c"
         GREETING.LNK    LINK response file for "greeting.exe"
         MESSAGE.LRF     LIB response file for "message.lib"

     *** SAMPLES\CFG:

         Demonstrates all the possible types of statements that may
         be used in a CMAKE configuration file.

         README.TXT      Notes for this sample
         CMAKE.CFG       CMAKE configuration file

     *** SAMPLES\CMDDEF:

         Demonstrates how to add a new command to CMAKE's vocabulary
         through the use of a command-definition statement in the
         configuration file, "cmake.cfg".

         README.TXT      Notes for this sample
         MAKEFILE        Make file for "target.txt"
         SORTSUM.BAT     Batch program to combine two text files and
                         sort the result
         CMAKE.CFG       CMAKE configuration file to define the
                         command, SORTSUM
         SOURCE1.TXT     Source-file number 1
         SOURCE2.TXT     Source-file number 2

     *** SAMPLES\CMDEQUIV:

         Demonstrates how to add a new command to CMAKE's vocabulary
         through the use of a command-equivalence statement in the
         configuration file, "cmake.cfg".

         README.TXT      Notes for this sample
         MAKEFILE        Make file for "target.txt"
         CMAKE.CFG       CMAKE configuration file to define the
                         commands, SORT and FIND
         1.TXT           Text-file number 1 (used as a source file)


     *** SAMPLES\COPY:

         Demonstrates how CMAKE handles the MS-DOS COPY command.

         README.TXT      Notes for this sample
         MAKEFILE        Make file to illustrate the use of the COPY
                         command
         SRC\1.SRC       Source-file number 1
         SRC\2.SRC       Source-file number 2
         SRC\MORE\3.SRC  Source-file number 3
         TRG\1.TRG       Target-file number 1

     *** SAMPLES\IF:

         Demonstrates how to use if statements in a make file.

         README.TXT      Notes for this sample
         MAKEFILE        Make file for "message.lib" and "greeting.exe"
         GREETING.C      Program to print "Hello World"
         HELLO.C         Function to print "Hello"
         WORLD.C         Function to print "World"
         GREETING.H      Include file for "greeting.c"
         HELLO.H         Include file for "hello.c"
         WORLD.H         Include file for "world.c"
         GREETING.LNK    LINK response file for "greeting.exe"
         MESSAGE.LRF     LIB response file for "message.lib"

     *** SAMPLES\MASM:

         Demonstrates how to use CMAKE to maintain an MS-DOS
         application that is built with the programs: MASM, CL, LIB,
         and LINK.

         README.TXT      Notes for this sample
         MAKEFILE        Make file for "message.lib" and "greeting.exe"
         A_HELLO.ASM     Function to call C function to print "Hello"
         A_WORLD.ASM     Function to call C function to print "World"
         GREETING.C      Program to print "Hello World"
         HELLO.C         Function to print "Hello"
         WORLD.C         Function to print "World"
         A_HELLO.H       Include file for "a_hello.asm"
         A_WORLD.H       Include file for "a_world.asm"
         GREETING.H      Include file for "greeting.c"
         HELLO.H         Include file for "hello.c"
         WORLD.H         Include file for "world.c"
         HELLO.INC       Include file for "hello.c"
         WORLD.INC       Include file for "world.c"
         GREETING.LNK    LINK response file for "greeting.exe"
         MESSAGE.LRF     LIB response file for "message.lib"


     *** SAMPLES\WINDOWS:

         Demonstrates how to use CMAKE to maintain a Microsoft
         Windows(TM) application that is built with the programs: CL,
         RC, and LINK.

         README.TXT      Notes for this sample
         MAKEFILE        Make file for "hw.exe"
         HW.C            Windows program with "Hello World" icon
         HW.DEF          Module-definition file for "hw.exe"
         HW.DLG          "About" dialog box
         HW.H            Include file for "hw.c"
         HW.ICO          "Hello World" icon
         HW.LNK          LINK response file for "hw.exe"
         HW.RC           Resource-script file for "hw.exe"

     -----------------------------------------------------------------
     Microsoft and MS-DOS are registered trademarks of Microsoft
     Corporation.

     Windows is a trademark of Microsoft Corporation.
