Re: [cc65] Building with custom CC and CFLAGS

From: Ullrich von Bassewitz <>
Date: 2009-09-10 20:18:43
On Thu, Sep 10, 2009 at 08:17:47PM +0200, Groepaz wrote:
> mmmh what about... instead of writing
> CFLAGS=-whatever
> simply do
> CFLAGS+=-whatever

Isn't += appending something to CFLAGS?

> in the makefile. then it would pick up cflags from the environment, and you
> could even add cflags on the commandline easily
> $ CFLAGS="-g" make

I know that, but don't really like it, because I have to retype this very
often. This is why I do usually change the makefile.



Ullrich von Bassewitz                        
To unsubscribe from the list send mail to with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Thu Sep 10 20:21:13 2009

This archive was generated by hypermail 2.1.8 : 2009-09-10 20:21:16 CEST