From d54ca8874302376f4e08b0b7b9ae86d9b6fe4f58 Mon Sep 17 00:00:00 2001 From: uz Date: Sun, 2 May 2010 09:56:40 +0000 Subject: [PATCH] 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 --- doc/cc65.sgml | 11 +++++++++++ src/cc65/global.c | 1 + src/cc65/global.h | 1 + src/cc65/input.c | 17 +++++++++++++---- src/cc65/main.c | 10 ++++++++++ src/cl65/main.c | 31 ++++++++++++++++++++++++++----- 6 files changed, 62 insertions(+), 9 deletions(-) diff --git a/doc/cc65.sgml b/doc/cc65.sgml index b9e09b9b1..3c80de41f 100644 --- a/doc/cc65.sgml +++ b/doc/cc65.sgml @@ -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:-) +