sp_makecheck(1) - Linux man page
Name
sp_makecheck - Read dependency files and check for missing dependencies
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.hThe 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.
Arguments
--help
- Displays this message and program version and exits.
- --mtime
- Consider the modification time, removing any out of date files.
- --show
- Show each target and the tree of required dependencies.
- --version
- Displays program version and exits.
Distribution
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-2010 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.
Authors
Wilson Snyder <wsnyder@wsnyder.org>
See Also
SystemC::Manual
make