Re: [cc65] --create-dep for ca65?

From: <silverdr1wfmh.org.pl>
Date: 2010-05-01 14:31:44
On 2010-05-01, at 12:02, Ullrich von Bassewitz wrote:

>
> Looking at dependency file generation for the assembler ...
>

:-D

> [...]
> What I can do is:
>
>  * Add --create-dep, which will generate a dependency file that  
> includes
>    all files touched by the assembler (main file, .include  
> and .incbin).
>
>  * Add --create-full-dep which will work as above, but files from  
> debug
>    info are added. Please note that this list of files will also  
> contain
>    the C system includes!
>
> So --create-full-dep will work slightly different from the compiler  
> but I
> think this is ok. There's still the option to add a method to pass  
> down
> additional files from the compiler later.

As far as I understand you, I believe this is fine. Since it is not a  
dead-end, the "first make it work - then optimise" rule is IMHO to  
follow.


> Please note that above changes (options --create-dep and --create- 
> full-dep,
> which are already implemented for the compiler) will mean that you  
> have to
> change your makefiles, because the old --create-dep option had no  
> argument,
> the output file name was auto generated. This is no longer true for  
> the new
> options. The advantage is that the user is now in control of  
> extension and
> path of the generated dependency file.

... and can easily emulate the old, autogenerated ones behaviour, I  
guess. All for!

-- 
SD!
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Sat May 1 14:31:58 2010

This archive was generated by hypermail 2.1.8 : 2010-05-01 14:32:00 CEST