[openib-general] Re: [PATCH] rdma_lat-09 and results
Michael S. Tsirkin
mst at mellanox.co.il
Mon Jun 27 01:19:32 PDT 2005
Quoting r. Bernhard Fischer <rep.nop at aon.at>:
> Subject: Re: [openib-general] Re: [PATCH] rdma_lat-09 and results
>
> On Wed, Jun 22, 2005 at 09:28:56AM -0700, Grant Grundler wrote:
>
> >I also don't know how to express
> > if target == static then
> > MORECFLAGS = -rdynamic...
> > endif
>
> $ cat Makefile
> BAR:=-Os
> ifeq ($(MAKECMDGOALS),static)
> BAR += -rdynamic
> endif
> #default: all
> static: all
> all:
> @echo "making ${MAKECMDGOALS}: $(BAR)"
>
>
> hth,
> Bernhard
>
Or better:
static: BAR += -rdynamic
--
MST
More information about the general
mailing list