List Info

Thread: override make file variables




override make file variables
user name
2008-04-16 01:49:43
hi all,
 i have a makefile
cat makefil
CPP=cc


.
.
.
.

Now I want to override this CPP from the invocation line for
the
makefile. Is it possible to do the same . please help me


Re: override make file variables
user name
2008-04-16 17:19:56
* parag wrote on Wed, Apr 16, 2008 at 08:49:43AM CEST:
> cat makefil
> CPP=cc

> Now I want to override this CPP from the invocation
line for the
> makefile. Is it possible to do the same . please help
me

Try
  make CPP="cc -E"

or similar.

Cheers,
Ralf



Re: override make file variables
user name
2008-05-05 02:04:38
On Apr 17, 3:19 am, Ralf Wildenhues <Ralf.Wildenh...gmx.de> wrote:
> * parag wrote on Wed, Apr 16, 2008 at 08:49:43AM CEST:
>
> > cat makefil
> > CPP=cc
> > Now I want to override this CPP from the
invocation line for the
> > makefile. Is it possible to do the same . please
help me
>
> Try
>   make CPP="cc -E"
>
> or similar.
>
> Cheers,
> Ralf

thanks a  lot , it works

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )