1SP_MAKECHECK(1)       User Contributed Perl Documentation      SP_MAKECHECK(1)
2
3
4

NAME

6       sp_makecheck - Read dependency files and check for missing dependencies
7

SYNOPSIS

9         sp_makecheck *.d
10

DESCRIPTION

12       A common technique with make is to use GCC to generate .d dependency
13       files using the -MMD switch.  This creates a files similar to foo.d:
14
15           foo.o foo.d: foo.cc foo.h
16
17       The problem is if a header file is removed, then make will complain
18       that there is no rule to build foo.h.  Adding a fake target is one way
19       around this, but that requires additional .d's, and leaves old objects
20       around.
21
22       sp_makecheck reads the specified dependency files, and checks for the
23       existence of all dependencies in the file.  If a file does not exist,
24       it simply removes all of the targets.
25

ARGUMENTS

27       --help
28           Displays this message and program version and exits.
29
30       --mtime
31           Consider the modification time, removing any out of date files.
32
33       --show
34           Show each target and the tree of required dependencies.
35
36       --version
37           Displays program version and exits.
38

DISTRIBUTION

40       SystemPerl is part of the <http://www.veripool.org/> free SystemC
41       software tool suite.  The latest version is available from CPAN and
42       from <http://www.veripool.org/systemperl>.
43
44       Copyright 2001-2010 by Wilson Snyder.  This package is free software;
45       you can redistribute it and/or modify it under the terms of either the
46       GNU Lesser General Public License Version 3 or the Perl Artistic
47       License Version 2.0.
48

AUTHORS

50       Wilson Snyder <wsnyder@wsnyder.org>
51

SEE ALSO

53       SystemC::Manual
54
55       make
56
57
58
59perl v5.12.2                      2010-11-03                   SP_MAKECHECK(1)
Impressum