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

From: <silverdr1wfmh.org.pl>
Date: 2010-05-02 14:38:46
On 2010-05-02, at 11:58, Ullrich von Bassewitz wrote:

>> There's another option that is as clean as the first one you supposed, and I'm
>> already finished implementing it (currently testing): The compiler gets a new
>> option --dep-target which allows one to specify the target of the generated
>> dependency. If an .o file is to be generated, the cl65 utility will then use
>> this option to set the target of the dependency to the .o file instead of the
>> .s file.
> 
> Ok, done. Please repeat your tests and let me know if there are any problems.

Bingo!!

I used a simple project example with each C and ASM source including both system and local headers plus .INCLUDE and .INCBIN respectively. With the exception of the (AFAIR recently discussed but don't remember the conclusion) paths for the included files, which seem to be relative to the directory of compiler/assembler invocation rather than the location of the source file - everything seems to work perfectly OK!

http://zennon.internetdsl.pl/cc65projtest.tar.bz2

holds the example and the latest Makefile..

-- 
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 Sun May 2 14:38:50 2010

This archive was generated by hypermail 2.1.8 : 2010-05-02 14:38:53 CEST