NAME

sp_makecheck - Read dependency files and check for missing dependancies

SYNOPSIS

sp_makecheck *.d

DESCRIPTION

A common technique with make is to use GCC to generate .d dependency files using the -MMD switch. This creates a files similar to foo.d:

foo.o foo.d: foo.cc foo.h

The problem is if a header file is removed, then make will complain that there is no rule to build foo.h. Adding a fake target is one way around this, but that requires additional .d's, and leaves old objects around.

sp_makecheck reads the specified dependency files, and checks for the existance of all dependancies in the file. If a file does not exist, it simply removes all of the targets.

ARGUMENTS

--help

Displays this message and program version and exits.

--show

Show each target and the tree of required dependancies.

--mtime

Consider the modification time, removing any out of date files.

SEE ALSO

AUTHORS

Wilson Snyder <wsnyder@wsnyder.org>