Quoting r. Bernhard Fischer <[EMAIL PROTECTED]>:
> 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
_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general
To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general