Added a new option --dep-target to the compiler. This option allows to set the

target in the generated dependency file. The cl65 utility will use this option
to override the depdendency target, if actual object files are to be generated
from C input. So the generated dependency will not have the intermediate .s
file as target, but the final .o file, which allows to use the dependency
files without further processing.


git-svn-id: svn://svn.cc65.org/cc65/trunk@4660 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
uz
2010-05-02 09:56:40 +00:00
parent e61bf7094c
commit d54ca88743
6 changed files with 62 additions and 9 deletions

View File

@@ -85,6 +85,7 @@ Long options:
--debug Debug mode
--debug-info Add debug info to object file
--debug-opt name Debug optimization steps
--dep-target target Use this dependency target
--disable-opt name Disable an optimization step
--enable-opt name Enable an optimization step
--forget-inc-paths Forget include search paths
@@ -185,6 +186,16 @@ Here is a description of all the command line options:
mortals:-)
<label id="option-dep-target">
<tag><tt>--dep-target target</tt></tag>
When generating a dependency file, don't use the actual output file as the
target of the dependency, but the file specified with this option. The
option has no effect if neither <tt/<ref id="option-create-dep"
name="--create-dep">/ nor <tt/<ref id="option-create-full-dep"
name="--create-full-dep">/ is specified.
<tag><tt>-D sym[=definition]</tt></tag>
Define a macro on the command line. If no definition is given, the macro