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

From: Oliver Schmidt <ol.sc1web.de>
Date: 2010-05-03 22:57:38
Hi,

After all these years with cc65 I'm obviously still learning how to use cl65...

My current proposal for the Universal Makefile looks like this for .c files:

$(CC) -t $(CC65_TARGET) -c --create-dep $(@:.o=.d) --include-dir
$(SOURCEDIR) $(CFLAGS) -o $@ $<

...and like this for .s files:

$(CC) -t $(CC65_TARGET) -c --create-dep $(@:.o=.d) --asm-include-dir
$(SOURCEDIR) $(ASFLAGS) -o $@ $<

I reordered the options trying to make the cmdlines more readable...

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 Mon May 3 22:57:46 2010

This archive was generated by hypermail 2.1.8 : 2010-05-03 22:57:49 CEST