Re: [cc65] Building with custom CC and CFLAGS

From: Christian Gröšssler <>
Date: 2009-09-10 23:25:47
Ullrich von Bassewitz wrote:
> Is it possible to do something like "if it's defined on the command line, then
> use it, else use what the makefile says" for a variable? If this is possible,
> then I can change the makefiles accordingly. You would then have to define
> your own variables on the command line when calling make.

We're talking about GNU make here, don't we?

Setting things on the command line (like "make CC=ultracc") should 
override the definitions of CC in the makefile. There is a way to 
prohibit this, but I don't remember how right now.


To unsubscribe from the list send mail to with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Thu Sep 10 23:26:09 2009

This archive was generated by hypermail 2.1.8 : 2009-09-10 23:26:11 CEST