sp_makecheck man page
sp_makecheck — Read dependency files and check for missing dependencies
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 existence of all dependencies in the file. If a file does not exist, it simply removes all of the targets.
Displays this message and program version and exits.
Consider the modification time, removing any out of date files.
Show each target and the tree of required dependencies.
Displays program version and exits.
SystemPerl is part of the <http://www.veripool.org/> free SystemC software tool suite. The latest version is available from CPAN and from <http://www.veripool.org/systemperl>.
Copyright 2001-2014 by Wilson Snyder. This package is free software; you can redistribute it and/or modify it under the terms of either the GNU Lesser General Public License Version 3 or the Perl Artistic License Version 2.0.
Wilson Snyder <email@example.com>