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

From: Oliver Schmidt <ol.sc1web.de>
Date: 2010-04-24 12:12:04
Hi Greg,

> Cc65 already does some of that kind of embedding when you use
> the "-g" ("--debug-info") option.

I know - therefore my idea to extend that approach...

>> 1. make calls cl65, which calls cc65 without --create-dep;
>> it only embeds its dependencies into the .s file.
>>
>> 2. make calls cl65, which calls ca65 with --create-dep; it finds the
>> embedded dependencies, and writes "<file>.o: <file>.c <incl>.h"
>> to the .u file.

> "c) 2." is redundant!  Make should run cl65 only once.
> Cl65 automatically will run both cc65 and ca65.

You're of course right. What I actually wanted to write was rather this:

make calls cl65, which...

- calls cc65 without --create-dep; it only embeds its dependencies
into the .s file.

- calls ca65 with --create-dep; it finds the embedded dependencies,
and writes "<file>.o: <file>.c <incl>.h" to the .u file.

Regards,
Oliver
----------------------------------------------------------------------
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 Apr 24 12:12:44 2010

This archive was generated by hypermail 2.1.8 : 2010-04-24 12:12:46 CEST