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

From: <silverdr1wfmh.org.pl>
Date: 2010-04-23 23:52:29
On 2010-04-23, at 20:41, Ullrich von Bassewitz <uz@musoftware.de> wrote:

>
> On Fri, Apr 23, 2010 at 03:17:20PM +0200, silverdr@wfmh.org.pl wrote:
>> Would that be possible to add this option to ca65? My uneducated
>> guess is that most of the code from cc65 could be reused there..
>
> That's not true, but not a problem, since it is not much code, and  
> the list of
> files is kept for other purposes already (they're written to the  
> object files).
>
> A more serious question is how to handle --create-dep on the cl65  
> level?

Without deeper thinking - the first what comes to my mind is that -- 
create-deps should generate them for both C and ASM files, which are  
not compiled C files. Thus the only smartness would be required to  
distinguish between "native" and "compiled" asm, which - I guess -  
shouldn't be too difficult.

> The
> simplest way would be to add something like --asm-create-dep, which is
> explicitly passed to the assembler. But what if --create-dep is  
> specified when
> assembling files with cl65? On the other side, cl65 could try to be  
> smart
> (in fact, I could try to teach cl65 how to be smart :-), but often,  
> trying to
> be smart doesn't work as expected :-)
>

I think I know what you mean ;-)

-- 
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 Fri Apr 23 23:52:29 2010

This archive was generated by hypermail 2.1.8 : 2010-04-23 23:52:31 CEST