/*****************************************************************************
*                              MAKEFILE
*
*  PURPOSE: Concatenate the text files, "source1.txt" and "source2.txt",
*           and sort the resulting file, "target.txt".
*
*  NOTE: None of the comments in this make file are required.  They have
*        been provided to help you understand how CMAKE handles each
*        command.  In other words, this make file could be reduced down to
*        the following command:
*
*        sortsum source1.txt source2.txt target.txt
*
*****************************************************************************/

/*****************************************************************************
*                              TARGET.TXT
*
*  The following SORTSUM command will be executed only when one of the
*  following conditions is true:
*
*  1. "target.txt" does not exist.
*  2. "source1.txt" is newer than "target.txt".
*  3. "source2.txt" is newer than "target.txt".
*
*****************************************************************************/

sortsum source1.txt source2.txt target.txt
