1 .TH ccmakedep 1 __xorgversion__
3 ccmakedep \- create dependencies in makefiles using a C compiler
32 program calls a C compiler to preprocess each
34 and uses the output to construct
36 rules describing their dependencies.
39 on which object files must be recompiled when a dependency has changed.
43 places its output in the file named
45 if it exists, otherwise
47 An alternate makefile may be specified with the
50 It first searches the makefile for a line beginning with
54 or one provided with the
56 option, as a delimiter for the dependency output.
57 If it finds it, it will delete everything following this up to the end of
58 the makefile and put the output after this line.
59 If it doesn't find it, the program will append the string to the makefile
60 and place the output after that.
64 will be used in a makefile target so that typing 'make depend' will bring
65 the dependencies up to date for the makefile.
68 SRCS\0=\0file1.c\0file2.c\0.\|.\|.
69 CFLAGS\0=\0\-O\0\-DHACK\0\-I\^.\^.\^/foobar\0\-xyz
71 ccmakedep\0\-\^\-\0$(CFLAGS)\0\-\^\-\0$(SRCS)
74 The program will ignore any option that it does not understand, so you may
75 use the same arguments that you would for
81 options to define and undefine symbols and
83 to set the include path.
86 Append the dependencies to the file instead of replacing existing
90 Use this compiler to generate dependencies.
94 This allows you to specify an alternate makefile in which
97 Specifying \(lq\-\(rq as the file name (that is,
99 sends the output to standard output instead of modifying an existing file.
102 Starting string delimiter.
103 This option permits you to specify a different string for
105 to look for in the makefile.
106 The default is \(lq# DO NOT DELETE\(rq.
109 Be verbose: display the C compiler command before running it.
111 .BI \-\^\- " options " \-\^\-
114 encounters a double hyphen (\-\^\-) in the argument list, then any
115 unrecognized arguments following it will be silently ignored.
116 A second double hyphen terminates this special treatment.
119 can be made to safely ignore esoteric compiler arguments that might
120 normally be found in a CFLAGS
129 options appearing between the pair of double hyphens are still processed
138 was written by the X Consortium.
140 Colin Watson wrote this manual page, originally for the Debian Project,
141 based partly on the manual page for