Re: [cc65] Building with custom CC and CFLAGS

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2009-09-24 17:10:02
On Sat, Sep 12, 2009 at 08:50:34AM +0200, Per Olofsson wrote:
> I'm a little unsure of what gets overridden and when, but sure, I
> don't mind specifying CFLAGS on the commandline, as long as it's
> passed down all the way.

I've changed the makefiles accordingly. So for example the cc65 makefile does
now read:

CC      = gcc
CFLAGS  = -O2 -g -Wall -W -std=c89
CFLAGS += -I$(COMMON)
CFLAGS += -DCC65_INC=$(CC65_INC)

This should enable you to change the base CFLAGS on the command line and have
the include dir and #defines appended.

Regards


        Uz


-- 
Ullrich von Bassewitz                                  uz@musoftware.de
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Thu Sep 24 17:12:06 2009

This archive was generated by hypermail 2.1.8 : 2009-09-24 17:12:08 CEST