Re: [cc65] Building with custom CC and CFLAGS

From: Groepaz <groepaz1gmx.net>
Date: 2009-09-10 20:30:59
On Donnerstag 10 September 2009, Ullrich von Bassewitz wrote:
> 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?

yes ofcourse, thats exactly what it should do :) take the cflags from 
environment (which should only contain stuff that applies generically to the 
environment) and then add whatever else to it

> > 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.

hehe well, i understand =) personally i have m.sh for this =D

-- 

http://www.hitmen-console.org    http://magicdisk.untergrund.net
http://www.pokefinder.org        http://ftp.pokefinder.org

Anyone who slaps a 'this page is best viewed with Browser X' label on a Web 
page appears to be yearning for the bad old days, before the Web, when you 
had very little chance of reading a document written on another computer, 
another word processor, or another network. 
<Tim Berners-Lee>

----------------------------------------------------------------------
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 10 20:31:07 2009

This archive was generated by hypermail 2.1.8 : 2009-09-10 20:31:08 CEST