Re: how to change $(CC) for just some targets

2010-06-03 Thread Christian Rössel
Hi Brian, Am 6/3/2010 11:50 AM, schrieb Brian J. Murrell: > On Thu, 2010-06-03 at 11:42 -0700, Christian Rössel wrote: >> Hi Brian, > > Hey Christian, > > Thanx for taking the time. > >> I use a separate Makefile for MPI targets. > > This is what I did last time around. In fact I created a "

Re: how to change $(CC) for just some targets

2010-06-03 Thread Brian J. Murrell
On Thu, 2010-06-03 at 11:42 -0700, Christian Rössel wrote: > Hi Brian, Hey Christian, Thanx for taking the time. > I use a separate Makefile for MPI targets. This is what I did last time around. In fact I created a "mpi" subdir for my MPI sources. I'm looking to avoid doing that again for th

Re: how to change $(CC) for just some targets

2010-06-03 Thread Christian Rössel
Hi Brian, Am 6/3/2010 11:10 AM, schrieb Brian J. Murrell: > I have a Makefile.am with a number of targets in it. Some of those > targets need $(CC) and/or $(LD) to be reassigned to a particular value > while others are fine with the default (or could be explicitly assigned > gcc if need be). > >

how to change $(CC) for just some targets

2010-06-03 Thread Brian J. Murrell
I have a Makefile.am with a number of targets in it. Some of those targets need $(CC) and/or $(LD) to be reassigned to a particular value while others are fine with the default (or could be explicitly assigned gcc if need be). I notice there is no CC/LD equivillent of the "prog_{C,F}LAGS" type va