Re: [cc65] automatic generation of makefile dependencies

From: <>
Date: 2011-04-24 15:50:19
On 2011-04-24, at 15:12, thefox xofeht wrote:

> Has anybody written a tool that would automatically collect makefile
> dependencies (.include/.incbin) from ca65 source files? I was thinking
> about doing it but don't feel like reinventing the wheel if not
> necessary. :)

A bit ;-)

> For example if foo.s includes foo.h and incbins bar.bin, it would  
> generate this:
> foo.o: foo.s foo.h bar.bin

"THE makefile" for cc65, which Oliver (occasionally disturbed by the  
undersigned) created, does this plus quite a bit more interesting  
stuff, which you might also find useful. You might want to have a look  

for the details and "THE makefile" itself.

To unsubscribe from the list send mail to with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Sun Apr 24 15:50:32 2011

This archive was generated by hypermail 2.1.8 : 2011-04-24 15:50:35 CEST