[cc65] automatic generation of makefile dependencies

From: thefox xofeht <thefox1aspekt.fi>
Date: 2011-04-24 15:12:52
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. :)

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

foo.o: foo.s foo.h bar.bin

Eventually it would be nice to see this supported in ca65 as well,
similar to "gcc -MM", to handle those rare cases where people do stuff
like .include .sprintf( ... ).

-thefox
----------------------------------------------------------------------
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 Apr 24 15:13:01 2011

This archive was generated by hypermail 2.1.8 : 2011-04-24 15:13:05 CEST