Example 1: Ounce/Make without options

This example illustrates using Ounce/Make non-recursively. In non-recursive mode, Ounce/Make only looks at the makefile in the directory from which it is invoked. If the original makefile contains calls to other makefiles, Ounce/Make ignores them.

This example runs Ounce/Make from /usr/source.

See Directory structure and files for a graphical explanation of the directory structure and files that are assumed by this example.

Command

ouncemake

The following diagram shows the contents of the directories after Ounce/Make runs:

Directory structure after Ounce/Make has run

After Ounce/Make runs, /usr/source now contains an AppScan® Source project file named source.ppf. This project file contains all necessary information to assess all source files in /usr/source. Ounce/Make in non-recursive mode ignores the calls in the makefile in /usr/source calling the makefiles in /usr/source/database and /usr/source/server.